Koozali.org: home of the SME Server

Certificate for SMTP/SSL

Offline woiks

  • *
  • 18
  • +0/-0
Certificate for SMTP/SSL
« on: May 02, 2007, 08:26:50 AM »
Hello All,

Is there a link to subject howto?

Problem description: Outlook user with SMTP Authentication, SMTP port 465 and SSL has to press "Yes" button to the warning below when sending mail.

The server you are connected to is using a security certificate that could not be verified. A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider. Do you want to continue using this server?

Regards.
...

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
Certificate for SMTP/SSL
« Reply #1 on: May 02, 2007, 11:52:51 AM »
I installed (and set under trusted) the certificate and the problem went away.
"It should just work" if it doesn't report it. Thanks!

Offline woiks

  • *
  • 18
  • +0/-0
Certificate for SMTP/SSL
« Reply #2 on: May 02, 2007, 01:16:56 PM »
Yes, I understand that installing certificate will solve the problem :) That's why I am looking for certificate creation/installation howto.
...

Offline crazybob

  • *****
  • 894
  • +0/-0
    • Stalzer R&D
Certificate for SMTP/SSL
« Reply #3 on: May 02, 2007, 02:40:10 PM »
It is in the manual under "How To's"

http://wiki.contribs.org/Custom_CA_Certificate

Bob
If you think you know whats going on, you obviously have no idea whats going on!

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Certificate for SMTP/SSL
« Reply #4 on: May 02, 2007, 03:58:32 PM »
Quote from: "woiks"
Yes, I understand that installing certificate will solve the problem :) That's why I am looking for certificate creation/installation howto.


You don't need to create and install a certificate - you've already got one. You only need to tell your mail client that the certificate is OK, and not to ask you again.

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
Certificate for SMTP/SSL
« Reply #5 on: May 02, 2007, 06:17:52 PM »
Quote from: "woiks"
Yes, I understand that installing certificate will solve the problem :) That's why I am looking for certificate creation/installation howto.

This depends on your workstations not SME. Windows usually displays a window with certificate information and you can choose the install option.

I exported my sme certificate and installed it on all computers that use the server but this is MS or Linux related and you should use google for more information on how to import certificates.
"It should just work" if it doesn't report it. Thanks!

Offline shell

  • ****
  • 117
  • +0/-0
Certificate for SMTP/SSL
« Reply #6 on: May 03, 2007, 12:21:31 AM »
I found the easiest way to do the import was simply to browse to https://"name of your server as used in the imaps or pop3s in email client"

the browser will prompt you and you should be able to follow your nose, or like bpivk suggested google for instructions specific to your browser.

the only trick worth noting is that if you don't create a custom certificate you must use the fqdn in your email client, as that is what is presented on the default certificate.  ie. servername.domain --> server1.abc.com

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
Certificate for SMTP/SSL
« Reply #7 on: May 03, 2007, 01:43:34 PM »
shell that's what i do. I save the certificate when server prompts me with the certificate screen (when i type https://) and i save it so i can import it into every computer. I think that this is the simplest and fatest way.
"It should just work" if it doesn't report it. Thanks!

Offline Gert

  • *****
  • 208
  • +0/-0
    • http://www.huge.co.za
Certificate for SMTP/SSL
« Reply #8 on: May 03, 2007, 10:42:35 PM »
I installed my certificate on my windoze client and as described, the anoying message went away, but only to bring a new popup warning, Mine now says "The certificate's CN name does not match the passed value".

I have an internet connection with a dynamic ip address and i am using dyndns for a dynamic hostname. How can i change my CN name on my sme box to match my dynamic hostname?

Offline HgF

  • **
  • 21
  • +0/-0
Re: Certificate for SMTP/SSL
« Reply #9 on: October 21, 2007, 09:12:06 PM »
Hi
I've created and installed my certificate, but the message stills popups when I check mails, is there anything else you think I can do?
Thanks

Offline shell

  • ****
  • 117
  • +0/-0
Re: Certificate for SMTP/SSL
« Reply #10 on: October 22, 2007, 11:55:21 PM »
Hi,

The certificate will be the full servername - ie hostname.domainname.co.nz

You need to make sure that the mail server settings in your client are set to this - ie the certificate name and the client incoming server settings must match exactly.

Cheers,
Shell

Offline HgF

  • **
  • 21
  • +0/-0
Re: Certificate for SMTP/SSL
« Reply #11 on: October 28, 2007, 04:45:23 PM »
But when I write https://sme.yyy.travel (my servername and domain) on the browser, I only see the error page that cannot be found. In fact, neither have ping that address.

Offline shell

  • ****
  • 117
  • +0/-0
Re: Certificate for SMTP/SSL
« Reply #12 on: October 28, 2007, 09:51:36 PM »
Sounds like a DNS setup problem HgF.  You should be able to ping (fgrom externally) the server fullname, if not you will need to change your DNS records (MX and A) so that the mx record points to fqdn and a record pointing that fqdn to your fixed IP.  Alternatively you could look at the creation of a custom certificate to exclude the servername.  I have always found the first option easier and less likely to cause trouble over upgrades.

I tried a dig on your sme.yyy.travel and yyy.travel and had no repsonse either to the mx or the a records.  Is this a fake for the purpose of the posting on the forum...

Offline HgF

  • **
  • 21
  • +0/-0
Re: Certificate for SMTP/SSL
« Reply #13 on: November 02, 2007, 02:40:55 PM »
Yes, it was a DNS problem, I had to specify that sme.yyy.travel is the same that yyy.travel, otherway doesn´t work.
Thank you very much.

(Sorry, yyy.travel doesn´t exists, I wrote that way to preserv de privacy of my client)

Offline duncan

  • 2
  • +0/-0
Re: Certificate for SMTP/SSL
« Reply #14 on: January 21, 2008, 07:12:10 AM »
I installed (and set under trusted) the certificate and the problem went away.

Just a quick heads up. This is important info for Vista (was never a requirement for XP). You will most likely need to export the certificate and then import it to the trusted certificate area.