[stunnel-users] Configuring Stunnel to work between client and server - possible certificate issue
Ludolf Holzheid
lholzheid at bihl-wiedemann.de
Tue May 17 13:02:34 CEST 2016
On Tue, 2016-05-17 08:29:17 +0000, David Faizulaev wrote:
> Hello Ludolf,
>
> I've printed the content of certificate file and the lines: "-----BEGIN CERTIFICATE-----" "-----END CERTIFICATE-----" exist.
> In addition, I've compared the default certificate provided by Stunnel with the one I wish to use, they're structure is identical.
Hello David,
Please reply to the list, so others are able to comment too.
I don't know the 'default certificate provided by Stunnel'. I expect
it to be depending on the distribution.
However, if there are "BEGIN/END CERTIFICATE" lines in your file, but
no "BEGIN/END RSA PRIVATE KEY", then the file is in PEM format, but
the key is missing. Maybe you have separate files for private key and
certificate. If this is the case, you may either concatenate key and
certificate to a single file or specify both files in the stunnel
configuration:
>> key = my-private-key.pem
>> cert = my-certificate.pem
Ludolf
--
Ludolf Holzheid
Bihl+Wiedemann GmbH
Floßwörthstraße 41
68199 Mannheim, Germany
Tel: +49 621 33996-0
Fax: +49 621 3392239
mailto:lholzheid at bihl-wiedemann.de
http://www.bihl-wiedemann.de
Sitz der Gesellschaft: Mannheim
Geschäftsführer: Jochen Bihl, Bernhard Wiedemann
Amtsgericht Mannheim, HRB 5796
More information about the stunnel-users
mailing list