Tuesday, August 13, 2013

SAP BI 4.0 + SSL



1. Execute the following from a command line to create a .keystore file:

Windows User :

%JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA
 

2. Upon executing the above command, you will be prompted for a keystore password, your full name, organizational unit, organization, city, state and country. At the end, you will be prompted for the keystore password again. This has to be the same password as the password you entered previously. Newer versions of the keytool will prompt you to hit ENTER to keep it the same.

3. Once finished, a self signed .keystore file will have been created in your user"s home directory:
For example: C:\Program Files\Documents and Settings\Administrator

4. Move this file from this directory to one in the Business Objects folder structure:
For example: C:\Program Files\Business Objects

5. Browse to Tomcat's server.xml file and create a backup file:
For example: C:\Program Files\Business Objects\Tomcat\conf\server.xml

6. Open and edit the server.xml file in wordpad.

7. Uncomment the section below and add the two commands after keystorePass & keystoreFile. This section needs to reference the new location of the .keyfile and the password you specified when creating it.

<!-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 -->
 
<Connector port="8443"
          maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
          enableLookups="false" disableUploadTimeout="true"
          acceptCount="100" debug="0" scheme="https" secure="true"
          clientAuth="false" sslProtocol="TLS" keystorePass="password" keystoreFile="C:\Program Files\Business Objects\.keystore"/>

8. Restart Tomcat and it should now be accessible using:
https://servername:8443

Hope you find this useful.
Cheers,
Umang Patel
+919979084870
SAP BO BI Solution Architect/Consultant


3 comments:

  1. The information which you have provided is very good and easily understood.
    It is very useful who is looking for sap bo Online Training.

    ReplyDelete
  2. Really good piece of knowledge, I had come back to understand regarding your website from my friend Sumit, Hyderabad And it is very useful for who is looking for SAP BO.

    ReplyDelete
  3. excellent post thanks for sharing from Kajal

    ReplyDelete