Forum

SSL Certificate Issues

Pavon Dunbar
4 January 2018, 00:38
Hi everyone!

I'm reaching out here to see if someone can help me.

So I followed all the steps to install my SSL certificate by VirginSteele that were outlined here:

https://www.hiawatha-webserver.org/forum/topic/2085

Everything is fine and updated.

However, when I go to my website it still is NOT showing the https:// even though I received the Let's Encrypt "congratulations" message.

I am new to Hiawatha and I'm sure my hiawatha.conf file has an error somewhere.

Any and all help is appreciated.

Thanks in advance to all who chime in.

Happy New Year. Cheers to a prosperous 2018!!

Pavon

Joe Schmoe
5 January 2018, 15:58
A couple of things to check.

1. Make sure you have a binding for port 443 as well as port 80.

Binding {
BindingID = main-http
Interface = 1.2.3.4
Port = 80
}

Binding {
BindingID = main-https
Interface = 1.2.3.4
Port = 443
# Optional to set the certificate file in the binding
TLScertFile = /etc/hiawatha/tls/mysite.com.pem
}


2. The binding should be set in your VirtualHost configuration

VirtualHost {
Hostname = www.mysite.com mysite.com
RequiredBinding = main-http, main-https
WebsiteRoot = /var/www/mysite/html
AccessLogfile = /var/www/mysite/logs/access.log
ErrorLogfile = /var/www/mysite/logs/error.log
TLScertFile = /etc/hiawatha/tls/mysite.com.pem
# Optional to require TLS, this will automatically redirect from HTTP to HTTPS
RequireTLS = yes, 2678400
}
Pavoand reconfigure that now.n Dunbar
5 January 2018, 22:12
Thank you for replying. I will check
This topic has been closed.