Link to home
Create AccountLog in
Exchange

Exchange

--

Questions

--

Followers

Top Experts

Avatar of Anestis Psomas
Anestis Psomas

Exchange 2013 and Wildcart Certificate
Hello,

In my Exchange 2013 Installation i want to enable POPS and IMAPS for secure communications between clients and server,

I have import a wildcart certificate . I use this for autodiscover and OWA and it plays perfect.

When i try to enable the certificate for IMAP and POP i take the error ,

This certificate with thumbprint FFED997A46629A5BF6F802C9AB22CE5134ED7E82 and subject '*.domain.net' cannot used for IMAP SSL/TLS connections because the subject is not a Fully Qualified Domain Name (FQDN). Use command Set-IMAPSettings to set X509CertificateName to the FQDN of the service.

I want to use mail.domain.net for hostnames for pop and imap so i go to servers and i set the fqdn of the x509 certificate mail.domain.net . ย I then try again to enable the certificate for imap and pop but i take the same error.

Any ideas ?


Thanks

Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of jerseysamjerseysam๐Ÿ‡ฌ๐Ÿ‡ง


Avatar of SeanSean๐Ÿ‡บ๐Ÿ‡ธ

Once you import your cert you will need to set the pop and imap settings in shell

what you need to do is open exchange management shell and enter these commands

set-POPSettings -X509CertificateName mail.domain.com
set-IMAPSettings -X509CertificateName mail.domain.com

obviously you need to change the mail.domain.com part to your domain but this will bind your cert if you get any errors please let me know.

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


Avatar of Anestis PsomasAnestis Psomas

ASKER

Hello to all ,

I have already run the Set-Pop and Set Imap for the X509 Certificate for mail.domain.com

But still its not working after i try to bind the certificate to the services because as i said i have a wildcard certificate *.domain.com and when im trying to bind the certificate i take the same error about the subject is not a fully qualified domain name.

Avatar of SeanSean๐Ÿ‡บ๐Ÿ‡ธ

You will not need to bind it that way, the only thing you need to do is use the set-pop command. It will always fail if you try to use the enable-cert command for pop and imap.

Ok so i have use only the set-pop and set-imap . I restart Services in all my servers. When i try to connect it connects successfully but i take a security warning about the certificate that is not trusted because it gives me the internal certificate of the server and not the certificate from godaddy.

Any ideas ?

Free T-shirt

Get a FREE t-shirt when you ask your first question.

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of SeanSean๐Ÿ‡บ๐Ÿ‡ธ

try this:
ย  ย  Enable-ExchangeCertificate -Thumbprint XXXXXXXXXX -Services POP,IMAP,IIS
ย  ย  Set-ImapSettings -server CAS01 -X509CertificateName imap.domain.com
ย  ย  Set-PopSettings -server CAS01 -X509CertificateName pop.domain.com
ย  ย  Restart the POP and IMAP services

Still the same problem .

Do i need to import the certificate also in my Load Balancer ?

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


Avatar of SeanSean๐Ÿ‡บ๐Ÿ‡ธ

No the load balancer does not do any authentication normally. When you get the security warning it should show what cert it is pulling and what server its getting it from. if you have more than one cas server have you done the commands with both cas servers set?

Hello ,

I have run the commands in both my servers. Also i restart them just to be sure.

The security warning shows my CAS01 and just to be sure i drop it from Load Balancer but i take the same warning from CAS02 . This is so strange....

Avatar of SeanSean๐Ÿ‡บ๐Ÿ‡ธ

can you do a Get-ExchangeCertificate and make sure that your new cert has pop and imap assigned to it?

Free T-shirt

Get a FREE t-shirt when you ask your first question.

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Hi ,

But we told we cannot assign the certificate because its wildcard . We only set-pop and set-imap for the X509Certificatename . If i try to assign i take error

WARNING: This certificate with thumbprint FFED997A46629A5BF6F802C9AB22CE5134ED7E82 and subject '*.domain.net'
cannot used for POP SSL/TLS connections because the subject is not a Fully Qualified Domain Name (FQDN). Use command
Set-POPSettings to set X509CertificateName to the FQDN of the service.


Before some posts you write "ย You will not need to bind it that way, the only thing you need to do is use the set-pop command. It will always fail if you try to use the enable-cert command for pop and imap. ย "


Thanks for your help

Avatar of SeanSean๐Ÿ‡บ๐Ÿ‡ธ

Sorry you are correct, im still stuck on 2010 :) with it wont work that way. Did you restart the pop and imap services after you did the set-pop and set-imap?

No problem !

I have restarted yes. Also i restart all Servers. But still it gives me the internal certificate.

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


ASKER CERTIFIED SOLUTION
Avatar of SeanSean๐Ÿ‡บ๐Ÿ‡ธ

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

I delete it and now it plays perfect !! Very strange !! Do i need to recreate the self signed certificate? Is the Self sign certificate used for something ?


Thanks

Avatar of SeanSean๐Ÿ‡บ๐Ÿ‡ธ

No you don't need a self signed cert if you pay for one so it has not use anymore.

Hey, great work guys, deleting the self signed cert worked for me too, I was pulling my hair out!!! :))))

Free T-shirt

Get a FREE t-shirt when you ask your first question.

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of Dani SakuDani Saku๐Ÿ‡จ๐Ÿ‡ญ

Had the same problem - deleting self-signed cert worked for me too!
Thanks!
Exchange

Exchange

--

Questions

--

Followers

Top Experts

Exchange is the server side of a collaborative application product that is part of the Microsoft Server infrastructure. Exchange's major features include email, calendaring, contacts and tasks, support for mobile and web-based access to information, and support for data storage.