Create the Certificate Authority
mkdir /etc/pki/CA
yum install openssl
touch index.txt
echo 1000 > serial
openssl genrsa -des3 -out private/cakey.pem 2048
openssl req -new -x509 -days 365 -key private/cakey.pem -out cacert.pem
Creating Certificate Request & Send from Web Server:
openssl req -newkey rsa:2048 -keyout websrv.key -out websrv.csr
scp websrv.csr user@192.168.1.1:/
Sign the Certificate on the Certificate Authority
openssl ca -out websrv.crt -infiles websrv.csr
ls -l
cat
scp websrv.crt user@192.168.1.1:/
There was an error while loading. Please reload this page.