pkg upgrade error after system failure

Rimvydas Jasinskas rimvydasjas at gmail.com
Mon Nov 11 04:56:17 PST 2019


Ilia,

You are getting ssl error at ssl_clnt.c:1121 if any of the
/etc/ssl/cert.pem /usr/local/etc/ssl/cert.pem are corrupted or both
are missing.
Something is damaged after force shutdown in your base. Try this:
# mv /etc/ssl/cert.pem /etc/ssl/cert.pem.orig
# mv /usr/local/etc/ssl/cert.pem /usr/local/etc/ssl/cert.pem.orig
# cp /usr/share/examples/etc/ssl/cert.pem /etc/ssl/cert.pem

If that doesn't work, then as last resort you could disable SSL
certificate verification (depending on shell you are using):
# setenv SSL_NO_VERIFY_PEER yes
# export SSL_NO_VERIFY_PEER=yes

I hope this helps. Just in case I recommend to rebuild and reinstall
both world and kernel.

Best regards,
Rimvydas


More information about the Users mailing list