Q: stunnel.pem certificate creation with openssl

Q: stunnel.pem certificate creation with openssl

Post by anthony t. dag » Tue, 18 Jan 2000 04:00:00


Does anyone know how I can create a certificate using openssl for use with
On a similar note, how/where can I obtain a valid certificate?  I'm currently
with Verisign on this issue.

Thanks in advance,


1. Q: creating certificate with openssl for stunnel?


Does anyone know how to create a working stunnel.pem from openssl?
On a similar note, can I get a legal one from a CA like verisign?

The steps I'm using are:

        openssl req -new -nodes -x509 -days 365 -config \
                stunnel.cnf -out stunnel.pem -keyout stunnel.pem

        openssl gendh -rand `test -c /dev/random && echo /dev/random` \
                512 >> stunnel.pem

        openssl x509 -subject -dates -fingerprint -noout \
                -in stunnel.pem

        cp stunnel.pem /usr/certs/

        stunnel -f -d 993 -r imap

stunnel complains of bad certificate.

Thanks in advance,

2. DLT2000xt and Solaris

3. OpenSSL Certificate Creation

4. 3com595 support?

5. openssl, certificate, tomcat, port certificate

6. Colormap allocation error

7. stunnel wrong permissions on .pem file?

8. can't see IMAP restored messages - ??? please help

9. modssl+openssl+server.pem(or no passphase prompt)

10. OpenSSL + Versign + pem phrase

11. openssl and stunnel

12. my fav commands w/several Qs: DHCP, driver install, certificates, etc.

13. Qs on attack by high rate process creation