Changes

From Amahi Wiki
Jump to: navigation, search
18 bytes removed ,  14:33, 17 July 2019
m
</nowiki></pre>
2. Create a new file createselfsignedcertificatecreateRootCA.sh using vi, nano, or your favorite text editor.
<pre><nowiki>
openssl req -new -sha256 -nodes -out /etc/httpd/ssl.crt/server.csr -newkey rsa:2048 -keyout /etc/httpd/ssl.crt/server.key -config <( cat /etc/httpd/server.csr.cnf )
openssl x509 -req -in /etc/httpd/ssl.crt/server.csr -CA ~/ssl/rootCA.pem -CAkey ~/ssl/rootCA.key -CAcreateserial -out /etc/httpd/ssl.crt/server.crt -days 3650 -sha256 -extfile v3.ext
</n
</nowiki></pre>
4. Create the configuration file server.csr.snfcnf.
<pre><nowiki>
C=US
ST=Maryland
L=AnapolisAnnapolis
O=Home Administrator
OU=HDA Domain
12

edits