Adrian Collier - Aruba Airwave - How to Generate a Self-Signed Certificate

Aruba Airwave - How to Generate a Self-Signed Certificate

If you find that your self-signed certificate has expired or you changed the host name and want to regenerate said certificate apply these commands.


sed s/"localhost.localdomain"/"<hostname>"/ /root/svn/mercury/lib/conf/openssl.cnf > /tmp/openssl.cnf
/usr/bin/openssl req -new -key /etc/httpd/conf/ssl.key/server.key -x509 -days 1827 -out /etc/httpd/conf/ssl.crt/server.crt -config /tmp/openssl.cnf 2> /dev/null
cat /etc/httpd/conf/ssl.crt/server.crt > /etc/httpd/conf/ssl.pem
echo '' >> /etc/httpd/conf/ssl.pem
cat /etc/httpd/conf/ssl.key/server.key >> /etc/httpd/conf/ssl.pem
chmod 0600 /etc/httpd/conf/ssl.pem
chown root.root /etc/httpd/conf/ssl.pem
make deploy_httpd_conf >> /tmp/amp-install.log 2>&1
service httpd restart > /dev/null
service pound restart > /dev/null



Seattle, WA.


<
>