View previous topic :: View next topic |
Author |
Message |
pcameron n00b
Joined: 04 Aug 2011 Posts: 43
|
Posted: Tue Oct 11, 2011 6:09 am Post subject: configure OpenSSL to help gen certs for courier-imap [Solve] |
|
|
Hi all,
Im a noob and I was hoping I could get a little assistance.
I currently in the middle of building an email server running gentoo.
Im following the guide
http://www.gentoo.org/doc/en/virt-mail-howto.xml
and all is going well.
i was attempting to generate a cert for pop3 and imap authentication as im planning on eventually opening up the server to the world for both smtp and imap but i want secure authentication.
I attempted to generate a cert, but it returned this error.
whitehills courier-imap # mkpop3dcert
Generating a 512 bit RSA private key
.....++++++++++++
....++++++++++++
writing new private key to '/etc/courier-imap/pop3d.pem'
-----
unable to find 'distinguished_name' in config
problems making Certificate Request
3073574568:error:0E06D06C:configuration file routines:NCONF_get_string:no value:conf_lib.c:335:group=req name=distinguished_name
I found on
http://www.openssl.org/support/faq.html
that I havnt configured openssl correctly (there is no config file currently setup), I have had a google around but im just not typing in the correct string or overlooking the page completely.
Could someone link me a page (preferably on the noob side) which could assist me in getting openssl setup and running on my system.
Last edited by pcameron on Tue Oct 11, 2011 6:46 am; edited 2 times in total |
|
Back to top |
|
|
pcameron n00b
Joined: 04 Aug 2011 Posts: 43
|
Posted: Tue Oct 11, 2011 6:22 am Post subject: |
|
|
ok, found the config file and the value its throwing back.
distinguished_name = req_distinguished_name
I assume the req is required. but what is a distinguished_name? |
|
Back to top |
|
|
pcameron n00b
Joined: 04 Aug 2011 Posts: 43
|
Posted: Tue Oct 11, 2011 6:24 am Post subject: |
|
|
Also what attributes would I pass?
attributes = req_attributes |
|
Back to top |
|
|
pcameron n00b
Joined: 04 Aug 2011 Posts: 43
|
Posted: Tue Oct 11, 2011 6:28 am Post subject: |
|
|
Lol,
i kept reading the config file and i think im seeing where im going wrong, will edit a few things and get back to u all.
Theres an entire req section missing all the info which I just did on courier-imap.
LOL |
|
Back to top |
|
|
pcameron n00b
Joined: 04 Aug 2011 Posts: 43
|
|
Back to top |
|
|
|