Raised This Month: $51 Target: $400
 12% 

Solved MOTD Invalid HTTPS Cert


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
CookieB
Member
Join Date: Apr 2016
Location: Germany
Old 06-30-2018 , 16:42   MOTD Invalid HTTPS Cert
Reply With Quote #1

Hello,

just checkin in if anyone encountered this problem:

I'm trying to display my site as an motd and encounter an https invalid certificate error.

https://imgur.com/a/MFe1nqm

these are my settings for nginx going along the certificate

Code:
 
  ssl_protocols TLSv1.1 TLSv1.2;
  ssl_ciphers 'ECDHE-RSA-AES256-GCM-SHA512:DHE-RSA-AES256-GCM-SHA512:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384';
  ssl_prefer_server_ciphers on;
  ssl_session_timeout 10m;
  ssl_certificate /a/long/path/fullchain.pem;
  ssl_certificate_key /a/long/path/privkey.pem;
  add_header Strict-Transport-Security "max-age=31536000" always;
I guess I'll fiddle a bit with the settings while I wait for your experiences.

Last edited by CookieB; 06-30-2018 at 20:59.
CookieB is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 06-30-2018 , 16:50   Re: MOTD Invalid HTTPS Cert
Reply With Quote #2

It would help if you also copied the relevant LINK that doesn't work into the thread too, but here:

Code:
https://daskekshaus.de/
This one works fine in browser, and should also work fine in the MOTD window.

Code:
https://www.daskekshaus.de/
This one doesn't work in a browser, and claims that the error code is "SSL_ERROR_BAD_CERT_DOMAIN".

This error is because the hostname (e.g. "www.daskekshaus.de") is not added to the certificate, and therefore the certificate cannot be trusted for that site.

You need to request a certificate holding both "daskekshaus.de" and "www.daskekshaus.de", if you want both "hostnames" to be accessible.
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
CookieB
Member
Join Date: Apr 2016
Location: Germany
Old 06-30-2018 , 17:53   Re: MOTD Invalid HTTPS Cert
Reply With Quote #3

That sounds reasonable yeah. Thanks for the input.

Thanks very much I issued the www. domain and it's now fully functional.

Last edited by CookieB; 06-30-2018 at 19:05.
CookieB is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:48.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode