cipher = Ciphers.RSA_PKCS1.get();
cipher.init(Cipher.ENCRYPT_MODE, nodeCert.getPublicKey());
byte[] symmkey = cipher.doFinal(symmKey.getEncoded());
final String encSymmKey = new String(Base64.encode(symmkey));
X509Certificate euareCert = SystemCredentials.lookup(Euare.class).getCertificate();
<BUG>final String b64EuarePubkey = PEMFiles.fromCertificate(euareCert);
final String credential = String.format("%s\n%s\n%s\n%s\n%s",</BUG>
b64EuarePubkey,
b64PubKey,
encToken, // iam token

cipher = Ciphers.RSA_PKCS1.get();
cipher.init(Cipher.ENCRYPT_MODE, nodeCert.getPublicKey());
byte[] symmkey = cipher.doFinal(symmKey.getEncoded());
final String encSymmKey = new String(Base64.encode(symmkey));
X509Certificate euareCert = SystemCredentials.lookup(Euare.class).getCertificate();
final String b64EuarePubkey = B64.standard.encString( PEMFiles.getBytes( euareCert ) );
final String credential = String.format("%s\n%s\n%s\n%s\n%s",
b64EuarePubkey,
b64PubKey,
encToken, // iam token
