How To Configure SAP MII 12.0.3 Build 107 For HTTPS
How To Configure SAP MII 12.0.3 Build 107 For HTTPS
How To Configure SAP MII 12.0.3 Build 107 For HTTPS
Applies to:
Configuring SAP Manufacturing Integration and Intelligence (SAP MII 12.0.3 build 107) for HTTPS. For more information, visit the Manufacturing homepage.
Summary
This paper outlines the process of configuring SAP MII to use https. The SAP J2EE Engine must possess a key pair, which consists of a public key, which is distributed using an X.509 public-key certificate, and a corresponding private key. Use the procedure below to create the key pair and public-key certificate on the server. This example that may not apply to all circumstances, certain steps may differ depending on security configurations specific to a network. All paths are relative to the Java SDK Version 1.4.2_17. Author: Pedro Iglesias
Author Bio
Pedro Iglesias was founder of Vitegris GmbH and Head of Vertical Integration Services. Vitegris GmbH used to be Lighthammers Preferred Enterprise Solution Partner in EMEA since 2002. Since December 2006 he is working in CIBER as Sr. Solution Architect. Since 2008 he is Head of SAP MII Competence Center at CIBER.
Table of Contents
Generating a Certification in NetWeaver ............................................................................................................3 Exporting Certification from NetWeaver..........................................................................................................4 Configuring the SAP MII for SSL ........................................................................................................................5 Configuring the SAP MII for SSL on NetWeaver ................................................................................................6 Configuring the Java Web Start for SSL.............................................................................................................7 Related Content..................................................................................................................................................8 Disclaimer and Liability Notice............................................................................................................................9
Select on Entry the Button Create to create a new key pair. Specify the Entry Name ssl-credentials to use to identify the private key entry in the Key Store. Specify the Valid From and the Valid To of the Certification. Select Store Certificate. Choose Key Length 1024 to use. Choose Algorithm RSA to use.
Specify the servers fully-qualified host name as the Common Name. Otherwise, certain Web browsers can produce a warning if the host name that users use to access the server does not match the host name found in the servers public-key certificate Select the Button Generate.
Now you will see two entries in Entries. ssl-credentials ssl-credentials-cert Choose the ssl-credentials-cert and click on the Button Export to save the new Certification.
Exporting Certification from NetWeaver Open Visual Admin (D:\usr\sap\<InstanceName>\JC00\j2ee\admin\go.bat). Expand the tree under Server and also expand the Services folder. Select the node Key Storage. Select on right hand Views the entry service_ssl. Select on Entries the ssl-credentials-cert and choose Export Button. Choose a directory and file name and click Save.
Where: file is the path to the SSL certificate keystore is the location of the JVM's CACERT file (the list of trusted certificates for the JVM) alias is the name you want to use to store the certificate Example
keytool -import -file "E:\cenbxpis.crt" -keystore D:\j2sdk1.4.2_17\jre\lib\security\cacerts -alias certServerName
You will then be prompted for a password, the password should be changeit without the quotes. You will then be prompted to Trust this certificate? type y without the quotes. Restart the application server that is hosting the SAP MII (NetWeaver).
Where: file is the path to the SSL certificate keystore is the location of the JVM's CACERT file (the list of trusted certificates for the JVM) alias is the name you want to use to store the certificate Example
keytool -import -file "E:\cenbxpis.crt" keystore D:\usr\sap\<InstanceName>\SYS\exe\uc\NTI386\jkit\jre\lib\security\cacerts -alias certServerName
You will then be prompted for a password, the password should be changeit without the quotes. You will then be prompted to Trust this certificate? type y without the quotes. Restart the application server that is hosting the SAP MII (NetWeaver).
keytool -import -file <path to cert> -keystore <path to the JRE cacerts file> -alias <name to store cert>
Where: file is the path to the SSL certificate keystore is the location of the JVM's CACERT file (the list of trusted certificates for the JVM) alias is the name you want to use to store the certificate Example
keytool -import -file "C:\certnew.cer" -keystore C:\Program Files\Java\j2re1.4.2_17\jre\lib\security\cacerts -alias certServerName
Example Java Web Start for SSL. You will then be prompted for a password, the password should be changeit without the quotes. You will then be prompted to Trust this certificate? type y without the quotes.
Related Content
For more information, visit the Manufacturing homepage.