How do I make stunnel verify a clients certificate?

Posted by unixman83 on Server Fault See other posts from Server Fault or by unixman83
Published on 2011-01-13T11:12:34Z Indexed on 2011/01/13 11:55 UTC
Read the original article Hit count: 160

Filed under:
|
|

NOTE: The title is misleading. Please correct it if you know a better title. What I want to know is how do I create the SSL keys / certificates needed for this.

Hi. I am using stunnel to authenticate RDP (Remote Desktop) and I need to verify that a client possesses the proper credentials. So people cannot brute force into the machine. I am also using a bad (outdated) version of RDP that has security vulnerabilities, so stunnel is a must.

I will preshare the necessary .pem's between machines.

What are the openssl commands I need to create the right .pem files on both the client and on the server? What files need to be shared?

© Server Fault or respective owner

Related posts about rdp

Related posts about openssl