capsula-gemini/source/notes/openssl.gmi

26 lines
421 B
Plaintext
Raw Permalink Normal View History

2022-02-10 22:44:33 -06:00
# Openssl
2023-10-08 18:00:33 -06:00
* KEY a PEM, cuidado, queda sin contraseña
```
openssl pkcs8 -inform DER -outform PEM -in cert.key -out cert.pem
```
2022-02-10 22:44:33 -06:00
* DER a PEM, cuidado, queda sin contraseña
```
openssl pkcs8 -inform DER -in certificate.key -out certificate.pem
```
* CER a PEM
```
openssl x509 -inform der -in cert.cer -out cert.cer.pem
```
* A PFX
```
openssl pkcs12 -export -out cert.pfx -inkey cert.key.pem -in cert.cer.pem
```