简体   繁体   中英

Create SSL certificate for use in my application

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

You can encrypt the packets yourself without having to implement a SSL cert. Just pass all outgoing and incoming packets through a de/encrypt method, and do the same on the client side.

You can try this:

http://www.somacon.com/p42.php

Or even easier:

http://www.inventec.ch/chdh/notes/14.htm

For when you're ready to pay:

http://www.codeproject.com/KB/aspnet/4stepsSSL.aspx

Hope that helps!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM