Member-only story

How to convert Certificate file from windows to Linux and How to import Certificate file on Linux ( It can use at kubernetes )

prerequisites

  1. I use Ubantu desktop bundle after install wsl2

Step to Convert Certificate file

  1. Convert .cer to .crt
openssl x509 -inform PEM -in <sorcefile.cer> -out <newfile.crt>

OK

Step how to import Certificate file on Linux

  1. Copy file to Linux Certificate store (/usr/local/share/ca-certificates/)
cp yourfile.crt  /usr/local/share/ca-certificates/

2. Go to Destination Path

cd /usr/local/share/ca-certificates/

2. change permission certificate file

chmod 755 ADHQ5.crt

3. update Certificate

update-ca-certificates

OK. DONE!!

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

No responses yet

Write a response