Community Discussions and Support
Export self-signed certificate for Java?

I've heard keytool is pretty finicky on format, did you double-check your command?  Also did you specify an alias for the key?

I've heard keytool is pretty finicky on format, did you double-check your command?  Also did you specify an alias for the key?

Hi,

I've created a self-signed certificate with Mercury (4.72) for the IMAP module. Now I want to import the certificate into my Java VM so I can develop my custom IMAP client application (the Java VM needs to know the certificate, otherwise it won't let me connect to the "untrusted" server)

I tried to directly import the created cert by using the Java keystore tool but I end up with an error message telling me that the cert Mercury created is not compatible (not a x.509 cert)

I haven't found any information on how to convert the cert file created by Mercury to something suitable for Java. Any clues?

Dirk

<p>Hi,</p><p>I've created a self-signed certificate with Mercury (4.72) for the IMAP module. Now I want to import the certificate into my Java VM so I can develop my custom IMAP client application (the Java VM needs to know the certificate, otherwise it won't let me connect to the "untrusted" server)</p><p>I tried to directly import the created cert by using the Java keystore tool but I end up with an error message telling me that the cert Mercury created is not compatible (not a x.509 cert)</p><p>I haven't found any information on how to convert the cert file created by Mercury to something suitable for Java. Any clues?</p><p>Dirk </p>
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft