Difference between revisions of "User:Alvonruff/HTTPS Notes"

From ISFDB
Jump to navigation Jump to search
Line 29: Line 29:
  
 
==Issues to Resolve==
 
==Issues to Resolve==
* The front page is still labeled insecure, while all other pages seem ok.
+
* The front page is still labeled insecure, while all other pages seem ok. This has something to do with the redirect, as following the navbar Home Page link goes to a secure page.
 
* Can not log into the wiki, nor the isfdb
 
* Can not log into the wiki, nor the isfdb
 
* Prepending www doesn't seem to work. May need subdomains in the cert, even though it isn't an actual subdomain.
 
* Prepending www doesn't seem to work. May need subdomains in the cert, even though it isn't an actual subdomain.

Revision as of 10:56, 11 May 2022

Apache

  • dnf install mod_ssl
  • systemctl restart httpd
  • httpd -M
  • cd /etc/httpd/conf.d
  • Create file isfdb2.org.conf
  • Add the following contents:
<VirtualHost *:80>
    ServerName stage.isfdb2.org
    DocumentRoot /var/www/html
    ServerAlias isfdb2.org
    ErrorLog /var/www/error.log
    CustomLog /var/www/requests.log combined
</VirtualHost>
  • service httpd restart

Certificate Support Software

  • dnf install epel-release
  • dnf install snapd
  • dnf install certbot
  • dnf install python3-certbot-apache

Certificates

  • certbot --apache
    • Select isfdb2.org
  • systemctl restart httpd

Issues to Resolve

  • The front page is still labeled insecure, while all other pages seem ok. This has something to do with the redirect, as following the navbar Home Page link goes to a secure page.
  • Can not log into the wiki, nor the isfdb
  • Prepending www doesn't seem to work. May need subdomains in the cert, even though it isn't an actual subdomain.