root@dev-ppsdma:~# sudo apt-get install -y ca-certificates
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
ca-certificates is already the newest version (20230311ubuntu0.22.04.1).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
root@dev-sdma:~#
root@dev-sdma:~# nano ca-local.crt
root@dev-sdma:~# sudo cp ca-local.crt /usr/local/share/ca-certificates
root@dev-sdma:~#
root@dev-sdma:~# sudo update-ca-certificates
Updating certificates in /etc/ssl/certs...
rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL
1 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
root@dev-sdma:~#

Leave a Reply

Your email address will not be published. Required fields are marked *