keytool) and Windows (via certmgr.msc) work better with PKCS#12 certificates. This is the command you have to construct to join the entire keypair, which isn't obvious in the EXAMPLES section in openssl's man pkcs12:openssl pkcs12 -export -out user.p12 -in user.crt -inkey user.key