{ "keys": [ { "alias": "mykey", "privateKey": "-----BEGIN RSA PRIVATE KEY----- ...-----END RSA PRIVATE KEY-----", "certificate": "-----BEGIN CERTIFICATE----- ...-----END CERTIFICATE-----" } ] } In this example, the Keystore JSON file contains a single key entry with an alias, private key, and certificate.
type: 'spki', format: 'pem' }, privateKeyEncoding: { keystore json
commonName: 'example.com' }, issuer: {
type: 'pkcs8', format: 'pem' } });