Closed GoogleCodeExporter closed 8 years ago
Just tried to reproduce it.
listening_ports 8080r,8443s
ssl_certificate c:\ssl_cert.pem
Connected to http://127.0.0.1:8080
Got redirected to SSL port. Works as expected.
Try to set error log file, and look at the errors you've got.
Original comment by valenok
on 25 Jul 2013 at 5:48
The error logs shows the following error message
[1374811358] [error] [client 0.0.0.0] mongoose.c:4767: cannot open
D:\Mongoose\ssl_cert.pem:
I am trying to setup a server supporting both 80 and 443s.
Thanks.
Original comment by tili...@gmail.com
on 26 Jul 2013 at 4:03
Attachments:
Make sure ssl_cert.pem exists and is correct.
Use https://raw.github.com/valenok/mongoose/master/build/ssl_cert.pem and see
if it works.
Original comment by valenok
on 26 Jul 2013 at 4:37
It works.
Seems that something is wrong with the certification.
Thanks.
Original comment by tili...@gmail.com
on 30 Jul 2013 at 7:37
Your certificate file must have two things in it: a certificate and a private
key.
Both in PEM format.
Original comment by valenok
on 30 Jul 2013 at 8:10
Original issue reported on code.google.com by
tili...@gmail.com
on 25 Jul 2013 at 3:03