w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Transfer trusted certificate (plus private key / chain) from Java keystore (jks) to Windows Certificate Manager

This seems to work for exporting the certificate but not the entire chain, the trick is to specify the srcalias:

keytool -v -importkeystore -srckeystore .keystore -srcalias
mykey -destkeystore myp12file.p12 -deststoretype PKCS12

Thanks to Warren for pointing me to this: How to export private key from a keystore of self-signed certificate

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.