Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Import IIS .NET SSL Certificate to JVM

  • Select the imported certificate above and click on Export.
  • Select DER (*.cer file) as the export format, provide a file name (i.e client.cer) and export the certificate.

Image Added

  • Type CMD into the Start Menu, right click on CMD in the list and select Run as Administrator.
  • Navigate to the directory where you exported the certificate CER file.
  • Issue the following command to import  the certificate to the Java keystore:
Code Block
languagejava
keytool -import -file client.cer -keystore "%JAVA_HOME%"\jre\lib\security\cacerts -alias dotnet

When prompted, enter “yes” to trust and import the certificate to the JVM keystore.

Image Added

Import JVM SSL Certificate to IIS

  • Open Internet Explorer and bring up the Options Dialog. Then, navigate to the Content tab. Click on the Certificates and select the Trusted Root Certification Authorities.
  • Click on the Import button and walkthrough the wizard. Locate the server certificate that you created for the tomcat instance (i.e tomcat.crt). Finally, make sure the certificate is placed inside the Trusted Root Certification Authorities. 
Image Added

Assign SSL Certificates to Trusted Root CA

  • Open the start menu and type MMC into the Run dialog. (You should have/allow admin access to in order to launch the Windows Management Console)

 

  • From the File menu, select Add/Remove Snap-in and select Certificates from the Available Snap-ins list.
  • Click the Add button and select My User Account. Finally, add the Snap in to the list.
  • Click the Add button again and select Computer Account. Choose the Local Computer option and add the Snap in to the list. Finally, click OK to close the dialog.

...

Image Added

  • Expand the node Certificates – Current User,Trusted Root Certification Authorities and then Certificates.
  • Make sure both certificates exist in the list. Also, copy all certificates and put them in Certificates – Local Computer - Trusted Root Certification Authorities.  This is required for IIS to validate and authenticate requests.

Configure Server Credentials

...