Recently I upgrade one of my machines to Mojave and although things are slower probably on account it is an older Mac things are working generally well. As you know I’ve encountered weird SSL phenomena on Macs previously and of course I’ve taken the time to write some notes to hopefully help others but mostly to help me not forget. So when I received the following error I immediately thought hey this is a new one and I’d better write it down.
svn: E230001: Server SSL certificate verification failed: issuer is not trusted
The error came up every time my machine was trying to connect to the WordPress plugins repo via composer. Of course Google being the kind friend helped me eventually find a few ideas and this is ultimately what worked for me.
$ svn list https://plugins.svn.wordpress.org/ Error validating server certificate for 'https://plugins.svn.wordpress.org:443': - The certificate is not issued by a trusted authority. Use the fingerprint to validate the certificate manually! Certificate information: - Hostname: *.svn.wordpress.org - Valid: from Jun 20 19:25:08 2018 GMT until Jul 15 19:04:26 2020 GMT - Issuer: Go Daddy Secure Certificate Authority - G2, http://certs.godaddy.com/repository/, GoDaddy.com, Inc., Scottsdale, Arizona, US - Fingerprint: DA:35:18:3F:39:5E:82:36:7D:B3:2D:91:F7:DD:B1:F1:F9:DC:C6:53 (R)eject, accept (t)emporarily or accept (p)ermanently? p
After selecting ‘p’ and hitting enter a whole bunch of plugin repos flew by and not I am not going to count them. Suffice to say that I was able to run composer install and everything started working fine.