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 )
Feb 17, 2021
prerequisites
- I use Ubantu desktop bundle after install wsl2
Step to Convert Certificate file
- Convert .cer to .crt
openssl x509 -inform PEM -in <sorcefile.cer> -out <newfile.crt>
OK
Step how to import Certificate file on Linux
- 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!!