Apache based WebDAV with LDAP and SSL HOWTO | ||
---|---|---|
Prev |
This HOWTO discusses about the HTTP over SSL or simply HTTPS. For more information about POP/IMAP/LDAP over SSL, please visit http://www.stunnel.org. Or if you are looking for a commerical products look into IPlanet for LDAP and Netscape for IMAP and POP.
# make certificate TYPE=custom |
# apachectl startssl Apache/1.3.23 mod_ssl/2.8.6 (Pass Phrase Dialog) Some of your private key files are encrypted for security reasons. In order to read them you have to provide us with the pass phrases. Server your.server.dom:443 (RSA) Enter pass phrase: |
First make a copy of the encrypted key
# cp server.key server.key.cryp |
# /usr/local/ssl/bin/openssl rsa -in server.key.cryp -out server.key read RSA key Enter PEM pass phrase: writing RSA key |
One way to secure the decrypted Private Key is to make readable only by the root:
# chmod 400 server.key |