• Resolved WFRM IT Staff

    (@wfrmitstaff)


    Hi, we are using self signed certificate in the website and the plugin return this error:
    Peer’s Certificate has expired.
    Is there a way to ignore SSL certification validity?
    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Mike Dell

    (@benzoid)

    For podcasting, you have to use an SSL cert (or not use HTTPS). Not a self-signed cert.

    There are a lot of places to get a valid cert.

    Plugin Author Angelo Mandato

    (@amandato)

    Hello @wfrmitstaff,

    I was thinking about this all week after reading your question. It would be helpful to be able to temporarily support self signed certs for testing purposes (Not a production environment). One idea i had that may solve this for you is to append your cert crt to the wp-includes/certificates/ca-bundle.crt bundle. I think it will work, except when WordPress updates it will overwrite the cert with its own version, but it is a way to temporarily get your self signed cert to work.

    Unfortunately there is no way to globally override the wp-includes/certificates/ca-bundle.crt without actually editing every call that is made to the ‘request()’ function in the class-http.php file. You could edit that source as well, at that point you could simply hard code ‘sslverify’ parameter to false.

    For anyone else reading this, you would only want to do this in a test environment, not production.

    Thanks,
    Angelo

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘ssl certificate issue’ is closed to new replies.