• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue file(): Peer certificate CN=`main serveur URI' did not match expected CN=`hosted domain URI'

cali

New Pleskian
i have an error when i would use php FTP function with URL FOPEN my system bring me back this error:

Code:
file(): Peer certificate CN=`(complete host name set in plesk general setting)' did not match expected CN=`(domain name on witch on i use the function'

i'm using let's encrypt certificates. In plesk, in the domain's SSL section all is green and ok, using my browser when i'm on the domain it's also all ok.

is someone have an idea how i can do ?
 
Seems the ftp client or/and the server does not use SNI, so the server presents the default certificate.
 
Back
Top