[stunnel-users] Which X.509 certificate types (.crt, .pem, .der .p7c) possible for stunnel and how to import them?

Ben Stover bxstover at yahoo.co.uk
Thu Oct 24 16:52:10 CEST 2013


Assume I  have already an *.pem cert (for SMTP over STARTTLS transfer).

Where (in whcih directory) should I put this cert file?

Ben

On Fri, 18 Oct 2013 12:35:25 +0000, Eckert, Doug wrote:

>You can use OpenSSL to convert between formats (to .pem for STunnel)

>https://support.ssl.com/Knowledgebase/Article/View/19/0/der-vs-crt-vs-cer-vs-pem-certificates-and-how-to-convert-them

>You can also use openssl to strip the key's passphrase.  This is handy for automatic starting (init/cron/at) of STunnel without 
having it prompt for the passphrase.

>	$ openssl rsa -in source.pem -out target.pem


>-----Original Message-----
>From: stunnel-users [mailto:stunnel-users-bounces at stunnel.org] On Behalf Of Ben Stover
>Sent: Friday, October 18, 2013 3:21 AM
>To: Stunnel Users
>Subject: [stunnel-users] Which X.509 certificate types (.crt, .pem, .der .p7c) possible for stunnel and how to import them?

>Which X.509 certificate types (e.g.  .crt, .pem, .der .p7c) are possible for stunnel?

>Assume I have got such a certificate as separate file (and not retrieved by OpenSSL).

>How do I import it into stunnel?

>Do I have to just copy it into (which ?) directory?

>Does the certifcate file name have to have a certain pattern?
>Or is stunnel smart enough to read and analyze the content independently from filename?

>Thank you
>Ben








>_______________________________________________
>stunnel-users mailing list
>stunnel-users at stunnel.org
>https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users






More information about the stunnel-users mailing list