Różnice między wybraną wersją a wersją aktualną.
| Poprzednia rewizja po obu stronachPoprzednia wersjaNowa wersja | Poprzednia wersja | ||
| ssl [2013/11/22 10:39] – kamil | ssl [2025/01/11 18:58] (aktualna) – edycja zewnętrzna 127.0.0.1 | ||
|---|---|---|---|
| Linia 34: | Linia 34: | ||
| openssl pkcs12 -export -in ./ssl.crt -inkey ./ssl.key -out ssl.p12 -name jboss | openssl pkcs12 -export -in ./ssl.crt -inkey ./ssl.key -out ssl.p12 -name jboss | ||
| keytool -importkeystore -srckeystore ./ssl.p12 -srcstoretype pkcs12 -srcalias jboss -srcstorepass | keytool -importkeystore -srckeystore ./ssl.p12 -srcstoretype pkcs12 -srcalias jboss -srcstorepass | ||
| + | </ | ||
| + | |||
| + | ==== Import certyfikatów z PFX ==== | ||
| + | |||
| + | Certyfikat: | ||
| + | < | ||
| + | openssl pkcs12 -in ssl.pfx -nocerts -out ssl.crt | ||
| + | </ | ||
| + | |||
| + | Klucz: | ||
| + | < | ||
| + | openssl pkcs12 -in ssl.pfx -clcerts -nokeys -out ssl.key | ||
| + | </ | ||
| + | |||
| + | Usunięcie z klucza hasła: | ||
| + | < | ||
| + | openssl rsa -in ssl.key -out ssl_nopass.key | ||
| </ | </ | ||