This article describes the steps to import self-signed certificate created on SRX on Mac OS.
Refer creation of self-signed-certificate on SRX.
For importing this certificate in Chrome web-browser on Ubuntu OS, follow the steps below:
Step1: Export the certificate from the SRX device in .pem format
root@SRX# run request security pki local-certificate export certificate-id SRXasCA filename /var/tmp/SRXasCA.pem
certificate exported successfully
Step2: Copy this file to the machine running Mac OS in ‘Keychain Access” under the “System” tab
You will see that this certificate has a red-cross marking it as Untrusted.
Step3: Select this certificate then Select File > Get Info and expand the Trust section.
Change Secure Sockets Layer (SSL) value to Always Trust.
Close the dialogs and enter your password.
Now, this certificate will be trusted, and the red-cross should disappear.
This certificate will be successfully imported to the machine.