User Tools

Site Tools


certificates:certificates_guide

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
certificates:certificates_guide [2025/07/10 19:00] bstaffordcertificates:certificates_guide [2025/07/10 19:00] (current) – [Strip Password from Base64] bstafford
Line 6: Line 6:
 =====Strip Password from Base64===== =====Strip Password from Base64=====
 Strip a password from a Base64 file that has both certificate and key. Strip a password from a Base64 file that has both certificate and key.
-<code>openssl rsa -in [file1.ke+<code>openssl rsa -in [file1.key] -out [file2.key]</code>
 =====Add Password to Base64===== =====Add Password to Base64=====
 Add a password to a Base64 file that is not Add a password to a Base64 file that is not
Line 14: Line 14:
 <code>sudo cat /etc/nginx/certs/intermediate.pem >> /etc/nginx/certs/certfile.pem</code> <code>sudo cat /etc/nginx/certs/intermediate.pem >> /etc/nginx/certs/certfile.pem</code>
 <code>sudo systemctl restart nginx</code> <code>sudo systemctl restart nginx</code>
-y] -out [file2.key]</code>+
 ===== Create Root CA and Web Cert ===== ===== Create Root CA and Web Cert =====
 Generate Private Key:  Generate Private Key: 
certificates/certificates_guide.1752174000.txt.gz · Last modified: by bstafford