User Tools

Site Tools


linux:apache_https

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux:apache_https [2022/09/23 22:36]
manu created
linux:apache_https [2022/09/23 22:38] (current)
manu
Line 16: Line 16:
   ​   ​
   ​   ​
-  ​+<​cli> ​
 # mkdir /​etc/​apache2/​certificate # mkdir /​etc/​apache2/​certificate
 # cd /​etc/​apache2/​certificate # cd /​etc/​apache2/​certificate
 # openssl req -new -newkey rsa:4096 -x509 -sha256 -days 365 -nodes -out apache-certificate.crt -keyout apache.key # openssl req -new -newkey rsa:4096 -x509 -sha256 -days 365 -nodes -out apache-certificate.crt -keyout apache.key
 +</​cli>​
  
 +<​code>​
 Generating a RSA private key Generating a RSA private key
 ............++++ ............++++
Line 40: Line 42:
 Common Name (e.g. server FQDN or YOUR name) []:​200.200.200.200 Common Name (e.g. server FQDN or YOUR name) []:​200.200.200.200
 Email Address []: Email Address []:
 +</​code>​
  
-vi /​etc/​apache2/​sites-enabled/​000-default.conf+vi /​etc/​apache2/​sites-enabled/​000-default.conf
  
 Here is the file, before our configuration. Here is the file, before our configuration.
linux/apache_https.1663965398.txt.gz ยท Last modified: 2022/09/23 22:36 by manu