User Tools

Site Tools


server

Differences

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

Link to this comparison view

server [2026-01-17 11:37] – created mathogserver [2026-01-17 11:40] (current) mathog
Line 5: Line 5:
 Use the openssl command to create a self-signed SSL certificate and private key. Run the following command, replacing yourdomain.com with your server's domain or IP address: Use the openssl command to create a self-signed SSL certificate and private key. Run the following command, replacing yourdomain.com with your server's domain or IP address:
 <code> <code>
-sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/private/apache.key -out /etc/ssl/certs/apache.crt -subj "/C=US/ST=State/L=City/O=Organization/CN=yourdomain.com"+sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/private/apache.key -out /etc/ssl/certs/apache.crt -subj "/C=SE/ST=State/L=City/O=Organization/CN=hogkvist.asuscomm.com"
 </code> </code>
  
Line 33: Line 33:
  
 Test and Handle Browser Warnings Test and Handle Browser Warnings
-Access your site via https://hogkvist.asuscomm.com. You will see a security warning because the certificate is self-signed. This is normal. Manually accept the certificate in your browser to proceed.  The connection is encrypted, but identity verification is not trusted by default. +Access your site via ''https://hogkvist.asuscomm.com''. You will see a security warning because the certificate is self-signed. This is normal. Manually accept the certificate in your browser to proceed.  The connection is encrypted, but identity verification is not trusted by default. 
server.1768649834.txt.gz · Last modified: by mathog

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki