I've copied all of the referenced files in my nginx configuration over:
- /etc/nginx/ssl/STAR_example_com/ssl-bundle.crt
- /etc/nginx/ssl/STAR_example_com/STAR_example.key
- /etc/ssl/certs/dhparam.pem
I was optimistic that might be all I'd need to do, but didn't believe it would be...
When I browse to https://new.example.com it just spins, and eventually times out.
I have configured my DNS correctly, I believe. dig
seems to confirm this.
I have configured my firewall correctly, I believe. firewall-cmd --list-all shows services: cockpit dhcpv6-client http https ssh
.
The site was working on http://<ipaddress>/. For the domain I have no option but to use https rather than http (as one might, for testing etc) as it's preloaded HSTS.
What am I missing? I'm completely clueless when it comes to certs. Is it the STAR_example.key file - should that be a private key relating to the machine it's on? If so how do I generate a new one?
The fact that it's timing out rather than coming back with an error of some sort has me stumped...
Thank you!