Note: Make sure to replace server with the name of your server.
Note: If you're generating an Apache CSR for a Wildcard certificate, make sure your common name starts with an asterisk (e.g., *.example.com).Router(config)# hostname R1R1(config)# ip domain-name ccie.com– To define a default domain name that the Cisco IOS software uses to complete unqualified host namesR1(config)# crypto key generate rsa– To generate RSA key pairsThe name for the keys will be: R1.ccie.comChoose the size of the key modulus in the range of 360 to 2048 for your General purpose keys.
Note: You may have already set up default information.
Note: Make them readable by root only to increase security.
Note: Make sure to replace /etc/httpd/ with the base directory for your Apache installation.
Note: If the SSLCertificateChainFile directive does not work, try using the SSLCACertificateFile directive instead.
Caution: Apache won't start again if your configuration files have syntax errors.