I hereby claim:
- I am pjosalgado on github.
- I am pjosalgado (https://keybase.io/pjosalgado) on keybase.
- I have a public key ASBU_LZ8Qzk22teFuSUH9HCXNN8CP0r1pp5c_C3JV4qIzQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# input: fullchain.pem and privkey.pem as generated by the "letsencrypt-auto" script when run with | |
# the "auth" aka "certonly" subcommand | |
# convert certificate chain + private key to the PKCS#12 file format | |
openssl pkcs12 -export -out keystore.pkcs12 -in fullchain.pem -inkey privkey.pem | |
# convert PKCS#12 file into Java keystore format | |
keytool -importkeystore -srckeystore keystore.pkcs12 -srcstoretype PKCS12 -destkeystore keystore.jks | |
# don't need the PKCS#12 file anymore |
#!/bin/bash | |
# Author: Erik Kristensen | |
# Email: [email protected] | |
# License: MIT | |
# Nagios Usage: check_nrpe!check_docker_container!_container_id_ | |
# Usage: ./check_docker_container.sh _container_id_ | |
# | |
# Edited by: Paulo José de Oliveira Salgado | |
# Email: [email protected] |
min-height: 100%; | |
background-color: black; | |
background-image: linear-gradient(to right, black, #C00, black); | |
background-repeat: no-repeat; | |
background-size: 80% 5px; | |
background-position: 50% 50%; |
.face { | |
display: block; | |
width: 200px; | |
height: 200px; | |
position: absolute; | |
top: 0; | |
left: 0; | |
} | |
.frente { | |
background-color: red; |
div { | |
width: 100px; | |
height: 100px; | |
/* Para deixar o texto centralizado na div, | |
podemos colocar um line-height igual à altura | |
dela. Só funciona bem se o texto tiver uma | |
linha só. | |
*/ | |
line-height: 100px; | |
text-align: center; |
div { | |
width: 100px; | |
height: 100px; | |
/* Para deixar o texto centralizado na div, | |
podemos colocar um line-height igual à altura | |
dela. Só funciona bem se o texto tiver uma | |
linha só. | |
*/ | |
line-height: 100px; | |
text-align: center; |
1. Convert our ".jks" file to ".p12" (PKCS12 keystore format): | |
keytool -importkeystore -srckeystore { java-keystore.jks } -destkeystore { pkcs12-keystore.p12 } -deststoretype PKCS12 | |
2. Extract pem (certificate) from ".p12" keystore file: | |
openssl pkcs12 -nokeys -in { pkcs12-keystore.p12 } -out { certificate-chain.pem } | |
3. Extract unencrypted key file from ".p12" keystore file: | |
openssl pkcs12 -nocerts -nodes -in { pkcs12-keystore.p12 } -out { unencrypted-key.key } |