Warning: The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is an industry standard format using "keytool -importkeystore -srckeystore example.jks -destkeystore example.jks -deststoretype pkcs12". $ keytool -exportcert -keystore example.jks -alias example.com -rfc > example.cert Enter keystore password: password
Warning: The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is an industry standard format using "keytool -importkeystore -srckeystore example.jks -destkeystore example.jks -deststoretype pkcs12". $ keytool -importkeystore -srckeystore example.jks -destkeystore example.p12 -deststoretype PKCS12 Importing keystore example.jks to example.p12... Enter destination keystore password: Re-enter new password: Enter source keystore password: Entry for alias example.com successfully imported. Import command completed: 1 entries successfully imported, 0 entries failed or cancelled $ openssl pkcs12 -nocerts -nodes -in example.p12 -out example.key Enter Import Password: MAC verified OK
$ docker images REPOSITORY TAG IMAGE ID CREATED SIZE alpine latest 3fd9065eaf02 5 months ago 4.15MB IP:18443/alpine latest 3fd9065eaf02 5 months ago 4.15MB $ docker tag alpine IP:18444/alpine $ docker push IP:18444/alpine The push refers to repository [IP:18444/alpine] cd7100a72410: Layer already exists latest: digest: sha256:8c03bb07a531c53ad7d0f6e7041b64d81f99c6e493cb39abba56d956b40eacbc size: 528 $ docker images REPOSITORY TAG IMAGE ID CREATED SIZE alpine latest 3fd9065eaf02 5 months ago 4.15MB IP:18444/alpine latest 3fd9065eaf02 5 months ago 4.15MB $ docker pull IP:18443/alpine Using default tag: latest latest: Pulling from alpine Digest: sha256:8c03bb07a531c53ad7d0f6e7041b64d81f99c6e493cb39abba56d956b40eacbc Status: Image is up to date for IP:18443/alpine:latest $ docker images REPOSITORY TAG IMAGE ID CREATED SIZE alpine latest 3fd9065eaf02 5 months ago 4.15MB IP:18443/alpine latest 3fd9065eaf02 5 months ago 4.15MB IP:18444/alpine latest 3fd9065eaf02 5 months ago 4.15MB