Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Server Certs |
|
Author |
|
KurtDJ
Joined: 27 Feb 2012 Posts: 2 Location: Virginia Beach
|
Posted: Fri 18 May '12 19:32 Post subject: Server Certs |
|
|
Anybody know about needing the public and private keys in the \conf directory in order to access my website without seeing the missing certificate error when i access the homepage? i'm trying to use the httpd-ssl file in the \extra directory. what steps should be taken to generate both keys that are insecure. Thanks. |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Fri 18 May '12 20:01 Post subject: |
|
|
Self signed:
If your on Windows Vista/7/2008 run the command prompt window as Administrator (right click on icon, select "Run as Administrator";
Code: | openssl req -new > server.csr
openssl rsa -in privkey.pem -out server.key
openssl x509 -in server.csr -out server.crt -req -signkey server.key -days 365 |
you can do any number of days you want to, not restricted to the 365 I've used above
Last edited by glsmith on Fri 18 May '12 20:03; edited 1 time in total |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Fri 18 May '12 20:03 Post subject: |
|
|
Wow Gregg, we hit the Post button exactly at the same time
Steffen |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Fri 18 May '12 20:05 Post subject: |
|
|
So we did |
|
Back to top |
|
|
|
|
|
|