Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I'm just learning about public key cryptography and I want to make a public key certificate for my web server so that I can use https. My server is hosted on some random free webhost that is practically impossible for anything...and so my question is this:

Is there any harm in making my private key, public key, and public key certificate on my computer using openssl and then transferring it to the server?

Thanks in advance. Also if there's anything else I'm missing, any help would be appreciated.

share|improve this question
add comment

migrated from stackoverflow.com Mar 29 '12 at 8:32

This question came from our site for professional and enthusiast programmers.

2 Answers

You can generate private/public key pair on your computer. Just remember that these keys will cause webbrowser to pop a security warning.

You can generate a free certificate valid in most browsers here - StartSLL. They also have a list of browsers which recognize their CA - https://forum.startcom.org/viewtopic.php?f=15&t=1802.

share|improve this answer
add comment

it won't be recognized by any browsers, but the only thing I can think of that would prevent you is if your web host charged extra for HTTPS. If that was the case, they will probably actively prevent you from using your own certificate.

share|improve this answer
3  
Even a full-service top-of-the-line certificate depends on the owner generating it himself. The CA only signs keys their customers have generated. –  Henning Makholm Aug 22 '11 at 22:11
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.