Thursday, July 15, 2010

Create SSL certificate for use in my application.

Programmer Question

Hi,



Made a simple server using TcpListen and would like to add SSL to the applicayion for security.



I need help in the actual steps needed to create a self signed certificate, and what problems if any would there be if I shared the application.



Would the user have to make their own certificate or if using the same one would cause a security issue im guessing, as the certificate would readable if I shared the application or can you hide it in the application itself.



Any question answered is a step closer :)



Thanks



UPDATED



Im having a little trouble with makecert. Which type do i want ...



makecert -r -pe -n "CN=Your Name" -b 01/01/2000 -e 01/01/2099 -eku 1.3.6.1.5.5.7.3.3 -ss My
or
makecert -r -n "CN=Your Name" -b 01/01/2000 -e 01/01/2099 -eku 1.3.6.1.5.5.7.3.3 -sv selfcert.pvk selfcert.cer
cert2spc selfcert.cer selfcert.spc
pvkimprt -pfx selfcert.spc selfcert.pvk



And what values need to be edited??



Thanks



Find the answer here

No comments:

Post a Comment

LinkWithin

Related Posts with Thumbnails