Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-03-29, 10:52:33

Author Topic: invalid security certificate  (Read 8215 times)

0 Members and 1 Guest are viewing this topic.

Offline LotsOfQ

  • Master
  • **
  • Posts: 462
  • Karma: +1/-0
    • View Profile
invalid security certificate
« on: 2016-08-04, 07:23:19 »
I get the follow error from firefox. This is weird. It doesn't happen all the sometime. When it happens I have to use ccleaner to clear out the browsers and then it works again. Then after awhile it happens again. And this doesn't happen to all the domains on the same vps. This only happened to 2 domains. But one are more often than the other one.

Code: [Select]
mydomain.com:7777 uses an invalid security certificate.

The certificate is not trusted because it is self-signed.
The certificate is only valid for Kloxo-MR

Error code: SEC_ERROR_UNKNOWN_ISSUER

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: invalid security certificate
« Reply #1 on: 2016-08-04, 08:02:29 »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline LotsOfQ

  • Master
  • **
  • Posts: 462
  • Karma: +1/-0
    • View Profile
Re: invalid security certificate
« Reply #2 on: 2016-08-09, 01:30:21 »
Check domain ssl via https://www.ssllabs.com/ssltest/
I've checked and it looks fine. It even scores an A. But I still have the still problem with firefox concerning this with one of the domain of all the domains on this vps.

My firefox is updated. I even deleted old profile of firefox thinking that might be the case. But I did have the same problem.

Offline LotsOfQ

  • Master
  • **
  • Posts: 462
  • Karma: +1/-0
    • View Profile
Re: invalid security certificate
« Reply #3 on: 2016-08-09, 01:34:32 »
A little more details, I do have Let's Encrypt installed. If I visited mydomain.com then it's fine. But if I visited https://mydomain.com:7777 then I will get that error. And it only happened for that one domain. Well... at least I haven't discovered any other ones with problem yet.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: invalid security certificate
« Reply #4 on: 2016-08-09, 03:27:42 »
Go to your Letsenscrypt SSL in panel under 'mydomain.com' (click 'admin > all > all SSL Certficate > mydomain.com') and then click 'Set SSL For Kloxo'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline LotsOfQ

  • Master
  • **
  • Posts: 462
  • Karma: +1/-0
    • View Profile
Re: invalid security certificate
« Reply #5 on: 2016-08-09, 17:21:54 »
I did what you said. I've updated the Set SSL For Kloxo. We'll see in a few days if it's a permanent fixed. Thank you.

Offline LotsOfQ

  • Master
  • **
  • Posts: 462
  • Karma: +1/-0
    • View Profile
Re: invalid security certificate
« Reply #6 on: 2016-08-11, 02:05:32 »
It didn't work. Today, I got the same error again.

Offline LotsOfQ

  • Master
  • **
  • Posts: 462
  • Karma: +1/-0
    • View Profile
Re: invalid security certificate
« Reply #7 on: 2016-08-11, 02:12:37 »
Actually the error I got is different.

Quote
mydomain.com:7777 uses an invalid security certificate.

The certificate is only valid for the following names: cp.myotherdomain.com, myotherdomain.com, webmail.myotherdomain.com, www.myotherdomain.com

Error code: SSL_ERROR_BAD_CERT_DOMAIN

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: invalid security certificate
« Reply #8 on: 2016-08-11, 02:18:41 »
Add ssl via 'Add Let's Encrypt' first.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline LotsOfQ

  • Master
  • **
  • Posts: 462
  • Karma: +1/-0
    • View Profile
Re: invalid security certificate
« Reply #9 on: 2016-08-11, 15:41:24 »
So I did what you said but it didn't work. Then I've noticed all of my domains are having the same errors. So I decided to delete all the Let's Encrypt certificates and start over. Well, when I did that I sh /script/restart-all and got this error.

Quote
Starting kloxo-hiawatha: Error loading private key from /usr/local/lxlabs/kloxo/etc/program.pem: PK - Read/write of file failed (-0x3E00)

Now I cannot get to 7777 or 7778 anymore.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: invalid security certificate
« Reply #10 on: 2016-08-11, 15:45:28 »
Try 'sh /script/fixssl; sh /script/fixweb; sh /script/restart-all -y'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline LotsOfQ

  • Master
  • **
  • Posts: 462
  • Karma: +1/-0
    • View Profile
Re: invalid security certificate
« Reply #11 on: 2016-08-11, 15:57:41 »
Didn't work. The same error.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: invalid security certificate
« Reply #12 on: 2016-08-11, 16:09:39 »
Try:
Code: [Select]
'rm' -f /usr/local/lxlabs/kloxo/etc/program.*
sh /script/fixssl
sh /script/fixweb
sh /script/restart-all -y
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline LotsOfQ

  • Master
  • **
  • Posts: 462
  • Karma: +1/-0
    • View Profile
Re: invalid security certificate
« Reply #13 on: 2016-08-11, 16:47:53 »
Ok so that works. But now I am back to my original problem. I think I didn't explained it clear enough. Because I left out some info that I didn't realized.

Firefox give me this error.

Quote
mydomain.com:7777 uses an invalid security certificate.

The certificate is not trusted because it is self-signed.
The certificate is only valid for Kloxo-MR

Error code: SEC_ERROR_UNKNOWN_ISSUER

But it doesn't give me the "Add Exception..." button. That's what was missing in the original post. I usually log in 7777 and got those error but I just have to "Add Exception..." and it's good. All my other domains on this VPS work fine. But this one. I have added the exception and it works. Then after awhile I get that error again but no "Add Exception..." button.

I've used ccleaner to clean out browsers and then it works. Then firefox work with it again after awhile it get the same error without the "Add Exception..." button.

I've tried delete my firefox profile and created new one but got the same result.

Again, this only happened with one domain.

Offline LotsOfQ

  • Master
  • **
  • Posts: 462
  • Karma: +1/-0
    • View Profile
Re: invalid security certificate
« Reply #14 on: 2016-08-12, 02:37:49 »
I found that with this same domain that I having this issue it's not just 7777 but also 7778 too. I basically can't log into kloxo.

With 7777 it show the error that I've mentioned in previous post. With 7778 it just keep on show that it's connecting... but nothing happened.

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.05 seconds with 21 queries.

web stats analysis