The following describes common issues that you may encounter.
When I generate a Certificate Signing Request (CSR), what do I put in the Common Name field?
The Common Name field contains the domain or server name. Do not include http:// before the name or any subfolders indicated by the / after the domain name. Do not add the port number. Valid examples are: www.mydomain.com, mydomain.com, and secure.mydomain.com.
What does this error mean?
500 Internal Server Error – The target principal name is incorrect.
This error occurs when the name in the SSL client request from ISA Server does not match the common name on the Web site certificate. Check that the certificate names follow the guidelines:
-
For the certificate on the ISA Server computer, the name must match the name that the external clients specify to reach the site.
-
For the certificate on the published Web server, the name must match the name that appears on the To tab of the rule.
-
In the case of the certificate on the Web server in a server publishing scenario, the certificate should have the name that users will use to connect to the server.
To troubleshoot, either obtain a new certificatethat matches the required name, or modify the required name to match the certificate’s common name. In addition, make sure that ISA Server can resolve the name to the IP address of the published Web site. If you modify the name on the To tab, one way to ensure that the name can be resolved is to add a Hosts file entry on the ISA Server computer (WINNT\system32\drivers\etc\hosts) to map the name and IP address of the published site.
How can I publish multiple SSL sites using the same IP address and port, with different certificates?
You can only use one SSL certificate per listener. If all sites are published using the same domain name, you can use a wildcard certificate, and then use a single IP address and a single listener to publish multiple sites. For example, if you are trying to publish the following sites: OWA, WebSite1, WebSite2 at domain.com, you can acquire a wildcard certificate for the ISA Server computer for *.domain.com.
I installed a certificate on my IIS 4.0 Web site and exported to ISA Server. When I try to select the certificate in the Web listener, there is a message that no certificates are installed.
When you export a certificate from IIS 4.0 it does not generate a file in .pfx format, and Microsoft Windows Server™ 2003 does not recognize it as a certificate. To resolve this, install IIS 6.0, and then import the certificate into IIS 6.0 from IIS 4.0. Then export the certificate from IIS 6.0 and install on ISA Server.
I am using wildcard certificates and getting the error:
500 Internet Server Error – The target principal name is incorrect
.
ISA Server 2004 only supports wildcard certificates on the ISA Server computer. ISA Server 2006 also supports use of wildcard certificates on the published Web server. When using HTTPS to HTTPS bridging, you cannot use wildcard certificates to authenticate the back-end Web server. Instead, on the internal Web server, create a new certificate that matches the name of the internal Web server, as specified on the To tab in the Web publishing rule. For more information about configuring this scenario, see Publishing Multiple Web Sites using a Wildcard Certificate in ISA Server 2004 (www.microsoft.com).
I am publishing remote procedure call (RPC) over HTTPand getting the error:
500Internal Server Error – The target principal name is incorrect
,even though the name in the client request matches the name of the certificate on the ISA Server computer.
When you create a new Outlook profile, on the Connection tab of Exchange Server Settings, you click Exchange Proxy Settings to specify RPC over HTTP settings. In Use this URL to connect to my proxy server for Exchange, ensure that you have typed the same name that appears on the certificate. Select Mutually authenticate the session when connecting with SSL, and then in Principal name for proxy server, again type the name that appears on the common name of the certificate. For example, if the common name is the FQDN used by clients to reach the site, you will type it in the form msstd:common name.
If this error occurs and you are using a wildcard certificate, ensure that the Principal name for proxy server Outlook setting is defined as msstd:*.domain.com, and not server.domain.com.
I receive an error message:
500 Internal Server Error. The certificate chain was issued by an authority that is not trusted.
ISA Server must trust the certificate from the published Web server. Ensure that the CA certificate is in the ISA Server Trusted Root Certification Authorities certificate store.
When I try to create a Web listener with a certificate, I get a message: There are no certificates configured on this server. I have a certificate, so why can I not add it?
This message may also be accompanied by an event in Event Viewer indicating that the certificate private key could not be accessed. This error may occur in the following circumstances:
-
The SSL certificate and its corresponding private key were not imported to the correct certificate store on the ISA Server computer. The SSL certificate has been moved from one certificate store to another, causing the SSL certificate to separate from its corresponding private key.
-
When you exported the certificate from the Web server, you did not indicate that the private key should be exported.
Check that the private key was exported, and that the certificate was imported under the Local Computer account into the Personal store.
I receive an error message:
500 Internal Server Error. The certificate is revoked
.
To help maintain the integrity of a CA public key infrastructure (PKI), CA administrators will revoke a certificate under circumstances where the certificate is no longer considered valid. When a certificate is revoked, it is added to the certificate revocation list (CRL) for that CA. CAs periodically publish an updated CRL. CRL distribution points are used to provide a certificate verifier with a location at which it can retrieve the current CRL. This error is issued when the root certificate cannot find a CRL distribution point, or when the certificate has been revoked. If you experience this issuing when using ISA Server 2004 Standard Edition, you can resolve it by installing ISA Server 2004 Standard Edition Service Pack 1. To work around this issue without SP1, manually download the CRL and install it under the Local Computer account into the Intermediate Certification Authorities store. In addition, ensure that the system policy rule to access CRL is enabled.
I want to use a certificate with multiple common names in it, for example, to reference https://server_name and https://www.server_name.com. Can ISA Server handle these multiple common names?
No, ISA Server will only reference the first common name in the certificate, and does not support multiple names.
I am trying to request a server certificate from an internal enterprise CA using the Certificates Microsoft Management Console (MMC) snap-in on the ISA Server computer, and I receive the following error:
The certificate request failed because of one of the following conditions: the certificate request was submitted to a Certification Authority (CA) that was not started: you do not have the permissions to request certificates from the available CAs
. The issue occurs even when the CA is started and there are sufficient permissions.
By default, ISA Server enforces strict remote procedure call (RPC) compliance on all firewall rules. To request a certificate for the ISA Server computer, you must modify firewall policy rules.
Note: |
|---|
|
Use the Certificates MMC snap-in to request a certificate from an enterprise CA when ISA Server is a member of an enterprise CA domain. Otherwise, use the Web enrollment site to request a certificate. The CA root certificate of the enterprise CA is automatically entered into the Trusted Root Certification Authorities store for all computers in the same domain as the CA. If the ISA Server is not a domain member, manually place the CA certificate into the Trusted Root Certification Authorities store on the ISA Server computer.
|
-
Modify the system policy rule to allow DCOM network traffic from the ISA Server to the CA, as follows: In the Firewall Policy node of ISA Server Management, click the Tasks tab, and then click Edit System Policy. In the Authentication Services group, click Active Directory. Clear the Enforce strict RPC compliance check box, and then click OK. Click Apply to save changes.
-
To obtain a certificate on a Web server behind ISA Server from a CA in a different network, modify settings on the rule (or rules) to allow DCOM traffic between the networks, as follows: In the Firewall Policy node of ISA Server Management, click the required rule, and on the Tasks tab, click Edit Selected Rule. On the access rule Protocols tab, click Filtering, and then click Configure RPC Protocol. On the Protocol tab, clear the Enforce strict RPC compliance check box. Then in the Configuration node of ISA Server Management, click Add-Ins. Right-click RPC Filter in the details pane, and then click Disable. You will have to repeat this for any other access rules that are configured between the networks.
Remember to enable all the settings again after requesting the certificate.
Other Issues
If you suspect that there is a certificate issue in a publishing scenario, you can check a number of general certificate settings. Note the following:
-
In server publishing scenarios, you will check the certificate configuration on the Web server (no certificate required on the ISA Server computer).
-
In Web publishing HTTPS to HTTP, you will check the certificate configuration on the ISA Server computer (no certificate required on the published Web server).
-
In Web publishing HTTPS to HTTPS, you will check the certificate configuration on the Web server and on the ISA Server computer.
General troubleshooting steps include the following:
-
Check that the relevant usage of the certificate is configured correctly. To do this, in the MMC Certificates snap-in, right-click the certificate, and then click Properties. Select Enable only the following purposes, and make sure that Server Authentication is selected.
-
Check the validity of the certificate on the General tab of the certificate properties.
-
Ensure that the certificate has a corresponding private key on the Details tab of the certificate properties. If it does not, you will not be able tobind it to a Web listener when you create the Web publishing rule. If it is the certificate you imported to ISA Server from the Web server, export it again fromthe Web server, and repeat the import to the ISA Server computer.
-
Ensure that there is a trust relationship defined between the installed certificate and the issuing CA. To do this, on the Certification Path of the certificate properties, you should see a hierarchical relationship, and a note that says This certificate is OK.
-
Be sure that the certificate is imported under the Local Computer account and stored in the Personal certificates store.
-
For Web publishing over an HTTPS connection, check that there is an SSL listener enabled on the ISA Server computer, and an SSL server certificate installed.
-
Check that ISA Server trusts the CA that issued the certificate used to authenticate the published Web server. To do this, open Internet Explorer on the ISAServer computer, click the Tools menu, and then click Internet Options. On the Content tab, click Certificates. Check that a certificate for the CA appears on the Trusted Root Certification Authorities tab.
-
Check that the certificate names follow the guidelines. For the certificate on the ISA Server computer, the name must match the name that the external clients specify to reach the site. For the certificate on the published Web server, the name must match the name that appears on the To tab of the rule. In the case of the certificate on the Web server in a server publishing scenario, the certificate should have the name that users will use to connect to the server.
Additional Resources
For additional information, see the following Microsoft Knowledge Base articles:
-
Article 891510 (released with SP1): Clients receive a "500 Server" error message if a Web server requires a Certificate Revocation List in ISA Server 2004
-
Article 833401: How to configure RPC over HTTP on a single server in Exchange Server 2003
-
Article 833704: "The certificate request failed because of one of the following conditions" error message when you request a certificate in ISA Server 2004
-
Article 837354: How to publish a Microsoft Exchange server for Outlook Web Access in ISA Server 2004
-
Article 841664: Clients may receive a “Error Code 500 Internal Server Error” error message if you use ISA Server 2004 to publish a Web site to a server that is on the internal network
-
Article 837834: How to publish an SSL Web site by using SSL tunneling in ISA Server 2004
-
Article 884506: How to configure ISA Server 2004 to allow for RPC over HTTP client connections from Office Outlook 2003 to Exchange Server 2003
-
Article 885186: How to publish a Web site directly on your Internet Security and Acceleration Server 2004 computer