The following XML can be used to import SSL certificates, SSL private keys, symmetric keys and SSH keys from files.

In all cases, the name attribute will be used as the name the certificate or key will be known by in the Rhapsody Certificate Manager.

When using a symmetric key, the algorithm attribute must be one of the following:

  • AES
  • Blowfish
  • CAST5
  • CAST6
  • DES
  • DESede
  • IDEA
  • RC2
  • RC5
  • RC6
  • Rijndael
  • Skipjack
  • Twofish
  • Serpent
  • RC4

Example

<certificate-manager>

	<!-- Import SSL certificate -->
	<certificate name="cert-1" file="private-key.cer"/>

	<!-- Import SSL private key -->
	<private-key name="privatekey-2" password="liverpool" file="private-key.pfx"/>

	<!-- Import symmetric key -->
	<symmetric-key name="symmetric-3" algorithm="AES" file="symkey.bin"/>

	<!-- Import SSH private key -->
	<ssh-private-key name="ssh-privkey-1" passphrase="secret" file="priv-key.ppk"/>

	<!-- Import SSH public key -->
	<ssh-public-key name="ssh-pubkey-1" file="pub-key.pub"/>

 </certificate-manager>