Install Certificate on Ubuntu 22.04

Select Run from the Start menu, and then enter

certmgr.msc

The Certificate Manager tool for the current user appears. To view your certificates, under Certificates - Current User in the left pane, expand the directory for the type of certificate you want to view.

Find certificate, choose "Action", "All Tasks", Export, Next

Choose "DER encoded binary X.509 (.CER)"

Save as princess-root.der

princess-root

Copy to Linux

Refer: https://ubuntu.com/server/docs/security-trust-store

Convert DER to PEM

sudo openssl x509 -inform der -outform pem -in princess-root.cer -out princess-root.crt
sudo cp princess-root.crt /usr/local/share/ca-certificates/
sudo update-ca-certificates

Refer: https://manpages.ubuntu.com/manpages/trusty/man1/certmgr.1.html

Installation for certmgr

sudo apt install mono-devel

Look at certs

less /etc/ssl/certs/ca-certificates.crt
certmgr -list -c -m Trust | less
certmgr -list -c -m Trust | grep -i princess

WordPress Bad Cert

Scan your WordPress code to turn off SSL Check, if you are behind a Firewall that re-writes the certs.

Searching for: sslverify
wp-includes\class-http.php(230): 'sslverify' => true