In this blog I would like to discuss how to configure Java based HTTP adapter (HTTP_AAE) receiver communication channel configuration by using HTTPS URL.
Business requirement: Currently we are using SAP PI 7.31 Java only system, we need to send the data to customer by using java based HTTP (HTTP_AAE) adapter with HTTPS URL.
To use the HTTPS url we need to activate SSL and apply HTTPS certificate
Lo-gin to NWA->Configuration->Security->Certification and Keys
Select “Service_ssl” key store view then click on Create button
Provide the Entry name, Algorithm, Key length and valid date details and click on Next
Provide the details then click on Finish.
Download the entry which we created by clicking “Generate CSR Request” button.
Apply the certificate (After download we will send this to certificate authority like VeriSign or mail or ….. then they will add keys and send back to us).
Now we have 2 or 3 certificates (Root, Intermediate [optional, if any 3rd party person is there in the middle then we can get this certificate] and system certificates). Place all the certificate keys in one file [must be in order as Root, Intermediate and System certificate keys] then import the same file to PI server by clicking “Import CSR Response”
Then provide the certificate path
Click on Edit then click on Add button in SSL Access points
Give PSE file path (File path is //usr/sap/<SID>/J<Instance_number>/sec)
Note: PSE file generates when we are installing the PI server, this file stores in the above path and this file contains system information.
Now SSL is active.
This is a separate certificate we need to generate and send to the certificate authority then apply the certificate (same like above process but here we need to apply the root, intermediate and system certificates separately).
And next update the Intermediate and system certificates on “Trusted CAs” tab
restart the server.
HTTP_AAE Receiver Communication Channel Configuration
My client provided 2 URLs, one is HTTP URL and the second one is HTTPS URL.
URLs are as follows
In receiver HTTP_AAE communication channel with HTTP URL is normal, we just gives the HTTP server and URL details.
HTTPS URL Configuration:
HTTP_AAE communication channel with HTTPS URL
Use SSL: If we select this option means we are using HTTPS URL, if customer wants certificates then we can select certificate checkbox and provide the certificate details.
Let’s go to communication channel monitoring and ping the communication channel (HTTP)
Ping the communication channel in communication channel monitoring (HTTPS).
I believe this blog would provide better understanding of how to configure the java based HTTP adapter receiver communication channel by using HTTP and HTTPS URLs.