I ran into a strange issue today while trying to setup a new plugin on my WordPress site. I was trying to install the WordPress JetPack plugin and kept getting an error that said: “SSL certificate problem: self signed certificate in certificate chain”
I’m not even hosting this site over HTTPS so I was curious what certificate I had that was failing. It turns out I just needed to change the JetPack code to authenticate over http rather than https since I’m not using HTTPS…
Change this line in the jetpack.php file:
define( ‘JETPACK__API_BASE’, ‘https://jetpack.wordpress.com/jetpack.’ );
define( ‘JETPACK__API_BASE’, ‘http://jetpack.wordpress.com/jetpack.’ );
That should fix things right up.