Changes

From Amahi Wiki
Jump to: navigation, search
39 bytes removed ,  18:49, 20 November 2013
{{code|mkdir -p /var/certs}}
== Update Create New Certificate ==A default certificate is installed by the Amahi application (Ubuntu). To change the create a new certificate, do the following steps as root user (For <b>Ubuntu, NOTE:</b> prefix commands with <code>sudo</code> except the command lines with second openssl requires the actual '''''root''''' user environment (<code>sudosu -</code>):
{{Code|cd /var/certs
openssl req -new -x509 -days 365 -nodes -config ./monit.cnf -out /var/certs/monit.pem -keyout /var/certs/monit.pem
openssl x509 -subject -dates -fingerprint -noout -in /var/certs/monit.pem
chmod 700 /var/certs/monit.pem}}
 
'''NOTE:''' For Ubuntu, the second openssl (openssl gendh) step requires the actual '''''root''''' user environment (<code>sudo su -</code>).
 
Restart Monit:
* Ubuntu
12,424

edits