For a clients outlook express and SMTP we must take care with the configuration, by default there is a receive connector for a clients:
On the client:
We are using an internal PKI and in order to request a new SMTP certificate using the Exchange Management Shell use the following cmdlet:
New-ExchangeCertificate –GenerateRequest –Path c:\cert.req –SubjectName “cn=relay.apatricio.local” –FriendlyName “Internal Relay Certificate” –PrivateKeyExportable:$True
Now, let’s request the certificate created using the Certification Authority webpage:
- Logged on Exchange Server open the http://
/certsrv , whereis your server which hosts the Certification Authority. - Click on Request a Certificate link.
- Click on advanced certificate request.
- Click on the second link which is Submit a certificate request by using a base-64-encoded CMC or PKCS #10 file, or submit a renewal request by using a base-64-encoded PKCS #7 file.
- Open the file C:\cert.req which was created by New-ExchangeCertificate cmdlet and copy the content.
- Paste the content of that file into the Base-64-encoded certificate request field in the webpage.
- On the same page, select Web Server in the Certificate Template field and then click the Submit button.
- On the new page, click on the Download Certificate link and save it in the C:\ root of the Exchange Server.
Let’s import the new certificate, to do that use this cmdlet:
Import-ExchangeCertificate –Path:C:\certnew.cer
Note:
The file name and path is just an example, you have to use the file name and path that you have used in the previous step.
Time to enable the new imported certificate to be used by the SMTP service using the Exchange Management Shell. To enable it we just need to copy the Thumbprint that was shown when we imported the request in the previous step and use this cmdlet:
Enable-ExchangeCertificate –Thumbprint
You will be prompted to change the default SMTP certificate, just type in N and hit enter.
Use get-excgangecertificates | fl PS to see the current services attached on the cert:
http://technet.microsoft.com/en-us/library/aa997231%28EXCHG.80%29.aspx
For enable logging:
No hay comentarios:
Publicar un comentario