Author Topic: Certificate expired  (Read 4599 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Certificate expired
« on: April 08, 2020, 11:35:45 AM »
Greetings,

I am getting the Server Certificate expired error whenever I try to connect to the server through FTP. I have attached the image.



Kindly tell me how and where can I update the certificate in CentOS webpanel?

Thanks,
Nauman

Re: Certificate expired
« Reply #1 on: April 08, 2020, 11:42:55 AM »
If is this a spoof question?
localhost.localdomain and you expect a valid SSL certificate - best you'll get is a self-signed one.
Change hostname.  :-X
« Last Edit: April 08, 2020, 11:44:57 AM by ejsolutions »

Offline
*
Re: Certificate expired
« Reply #2 on: April 08, 2020, 08:14:47 PM »
Thanks a lot for your reply,

Please check this.



Everything is properly configured on the server. Hostnames, dns, emails, all working perfect. Even ssl certificates are working fine. But when I use filezilla, it gives me this error.

Thanks

Re: Certificate expired
« Reply #3 on: April 08, 2020, 09:26:29 PM »
I have just tested it on my CWP.Pro instance, using a user account default FTP account and it worked fine, prompting to accept a valid SSL.
Trying with an Admin level generated account..
[Edit] Also worked perfect.

You have entered the server FQDN in Filezilla and not just left it blank?
Check your server has the FQDN listed with IP in /etc/hosts, not just localhost.localdomain (which should be removed and shouldn't be there, if the server was correctly setup.) 127.0.0.1 is the only valid entry for localhost.localdomain localhost
« Last Edit: April 08, 2020, 09:45:27 PM by ejsolutions »

Offline
*
Re: Certificate expired
« Reply #4 on: April 09, 2020, 07:27:59 PM »
Thanks for your reply, here is the /etc/hosts

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
127.0.0.1   autoreply.xxxx.xxxx.com
000.204.000.000   xxxx.xxxx.com

I am using an admin level account,

I have also tried it with FQDN in filezilla but same server expired result

Re: Certificate expired
« Reply #5 on: April 09, 2020, 09:41:28 PM »
Suggest you locate the trustedcerts.xml file that Filezilla uses (depends on you PC OS) and rename it trustedcerts.xml.bak then try again.
You MUST do this whilst Filezilla is NOT running. Then try to connect again, making sure that you specify the full hostname.

Also, try sftp from a command prompt, preferably in verbose mode.

Offline
*
Re: Certificate expired
« Reply #6 on: April 11, 2020, 12:48:24 PM »
I am unable to find the trustedcerts.xml or any file like this in my filezilla installation.
i have blockes port 22 so i cannot access sftp

Re: Certificate expired
« Reply #7 on: April 11, 2020, 12:55:09 PM »
I am unable to find the trustedcerts.xml or any file like this in my filezilla installation.
i have blockes port 22 so i cannot access sftp
You don't say what client OS, so can't/won't guide you.
SFTP uses same port as SSH, not 22, that's what the 'S' signifies, in addition to 'secure'. ;)

Offline
*
Re: Certificate expired
« Reply #8 on: April 14, 2020, 08:03:36 PM »
Understood, and thanks for your reply...

Its working perfect under sFTP.