Root CA and Wildcard Certificate Generation in CentOS/RHEL 6&7
Hi folks ! this is one of the best method to create your own RootCA server and generating self-signed wildcard certificates.The greatest advantage of following this method: this would not make any system level changes, as everything is stored in files mentioned in the commands. At any stage if something went wrong, clear all the files and perform the steps once again. There are two sections 1. RootCA Server -- Need to perform only once. 2. Generating wildcard certificates for xyz.com domain -- Need to perform once per domain to create wildcard certificates. Need to perform once per site per domain to create individual certificates per site. RootCA Server ============ 1. Install required packages. # yum install openssl -y 2. Generate XYZRootCA certificates # mkdir /opt/XYZRootCA # cd /opt/XYZRootCA # openssl genrsa -out XYZRootCA.key 2048 # openssl req -x509 -new -nodes -key XYZRootCA.key -sha256 -days 10950 -out XYZRootCA.pem #Provide information as g