XMailforum is a readonly knowledge archive now.

Registering as a new user or answering posts is not possible anymore.

Might the force be with you, to find here what you are looking for.

2019-09-20 - hschneider, Admin

Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.

XMail Forum -> [solved] Tls Encryption

Reply to this topicStart new topicStart Poll

> [solved] Tls Encryption, Enter PEM pass phrase?????
mbarka
Posted: Jan 28 2009, 04:16 PM
Quote Post


Junior Member
**

Group: Members
Posts: 42
Member No.: 3157
Joined: 28-January 09



hello
I asked :

i have a certificate given by a CA (not generated by me)
the certificate is composed by a *.crt, *.pem, and an activation pass phrase
under /var/MailRoot , i put *.crt as server.cert, *.pem as server.key.
i enabled CTRL-TLS, SMTP-TLS, POP3-TLS.
msgs are crypted, but xmail keep asking me the PEM pass phrase in each pop or smtp req.
can you help me?
hschneider said

Try this:

openssl rsa -in server.cert -out server.cert.insecure
mv server.cert server.cert.secure
mv server.cert.insecure server.cert

Keep both files.

pb : i tried
openssl rsa -in server.cert -out server.cert.insecure
the result is
unable to load Private Key
6723:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:644:Expecting: ANY PRIVATE KEY
i didn't understand the error msg sad.gif
could you help me
PMEmail Poster
Top
hschneider
Posted: Jan 28 2009, 07:55 PM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 6631
Member No.: 195
Joined: 19-June 02



The private key's path seems to be wrong, check the path settings in etc/openssl.conf




--------------------
Bye,
Harald


-- Download XMail Queue Manager 1.46 NOW: XMail Server Tools
-- Cross platform remote queue management!
-- Message analyzing on the fly!
-- Builtin diagnostics knowledge base!
-- Manages multiple mail queues!

Sponsored by
CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg
PMEmail PosterUsers Website
Top
mbarka
Posted: Apr 3 2009, 09:27 AM
Quote Post


Junior Member
**

Group: Members
Posts: 42
Member No.: 3157
Joined: 28-January 09




To remove the pass phrase on an RSA private key:
openssl rsa -in key.pem -out keyout.pem
in that way it will not ask me the pass phrase.

see http://www.openssl.org/docs/apps/rsa.html
PMEmail Poster
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | XMail Server | Next Newest »

Reply to this topicStart new topicStart Poll