Environment: Ubuntu6.06, Apache2.0.55 Step 1: generate the sslcertficate file first of course is the normal installation of apache2, And then: The sudoapache2-ssl-certificate generates a 1024-bit RSA private key, and save it as/etc/apache2/ssl/apache. pem. If you already have a CA certificate, you can also use it directly or use it to generate the private key (this should belong
Environment: Ubuntu 6.06, Apache 2.0.55
Step 1: generate an ssl certficate File
First of all, you can install apache2 normally. Then:
Sudo apache2-ssl-certificate
Generate a 1024-bit RSA private key and save it as/etc/apache2/ssl/apache. pem. If you already have a CA certificate, you can use it directly or generate the private key (this should be another topic, and I have never used it ).
Apache2-ssl-certificate Execution Process to answer some questions, as follows, note that if [] has given the default value, and you want to leave this blank, you can enter the English periods ".":
Country Name (2 letter code) [GB]: US
State or Province Name (full name) [Some-State]:.
Locality Name (eg, city) []:
Organization Name (eg, company; recommended) []:.
Organizational Unit Name (eg, section) []:.
Server name (eg. ssl. domain. tld; required !!!) []: Localhost
Email Address []: fwolf@mail.com
Generally, the server name is more convenient than the actual website domain name.