Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Note: Depending on the version of wamp and openssl you installed, the numbers in the
path address may change. So make necessary changes.
openssl x509 -in test.csr -out test.cert -req -signkey test.key -days 365
#Listen 12.34.56.78:80
Listen 443
<VirtualHost *:443>
#Server Certificate:
SSLCertificateFile "C:/AppServ/Apache24/bin/test.cert"
SSLEngine On
ServerName localhost
DocumentRoot "C:/AppServ/www/"
<VirtualHost _default_:443>
# Server Certificate:
# Point SSLCertificateFile at a PEM encoded certificate. If
# the certificate is encrypted, then you will be prompted for a
# pass phrase. Note that a kill -HUP will prompt again. Keep
# in mind that if you have both an RSA and a DSA certificate you
# can configure both in parallel (to also allow the use of DSA
# ciphers, etc.)
# Some ECC cipher suites (http://www.ietf.org/rfc/rfc4492.txt)
# require an ECC certificate which can also be configured in
# parallel.
SSLCertificateFile "c:/Apache24/conf/server.crt"
#SSLCertificateFile "c:/Apache24/conf/server-dsa.crt"
#SSLCertificateFile "c:/Apache24/conf/server-ecc.crt"