Configuring the Authentication Assertion Ticket with HTTPS (AS Java) 
This procedure provides a detailed process of all necessary steps to secure Web Services with SSL and to set up the authentication of the users using authentication assertion tickets. This example uses two AS Java systems and individual SOA Management configuration.
SSL is principally set up on AS Java systems (more infomation: Configuring the Use of SSL on the AS Java).
The use of authentication assertion tickets is set up in principle on the AS Java systems (more information: Using Logon Tickets).
Set up the trust relationship between the systems so that the consumer system trusts the provider system.
Export the server certicate of the provider system. To do this, in SAP NetWeaver Administrator, under , select the standard SSL server keystore view ICM_SSL_<instance ID>.
Under Details of Keystore Views, on the View Entries tab page, select the ssl-credentials-cert entry.
Choose Export to File, and use the download link to save the certificate as a file in the file system (file format: Base64 X.509).
Import the server certificate of the provider system into the consumer system. To do this, in SAP NetWeaver Administrator, under , select the client SSL keystore view Client_ICM_SSL_<instance ID>.
Under Details of Keystore Views, on the View Entries tab page, choose the Import from File buttmon.
In the Import Entry dialog box, specify the entry type X.509 certificate and the path in the file system, and choose Import.
Set up the ticket trust relationship in the provider system with the SSO2 Assistant. This imports the consumer system certificate into the TicketKeystore keystore from the view SAPLogonTicketKeypair-cert.
In the SAP NetWeaver Administrator of the provider system, under , choose the tab page Single Sign-On with SAP Logon Tickets.
Under Trusted Systems, start the Assistant by choosing .
Specify the system type Java.
The following required entry fields are then displayed, which you also need to fill out:
Field |
Value |
|---|---|
Schema |
HTTP: Without server authentication HTTPS: With server authentication The server authentication ensures that the certificate that is to be trusted actually comes from the system. |
Host Name |
|
Port number |
|
User name |
Name of the user to be used to access the consumer system. |
Password |
Password of the user in the consumer system. |
Choose Next and then Finish.
In the SAP NetWeaver Administartor of the provider system, choose , and then the tab page Service Definitions.
Find the service that is to be accessed using an authentication assertion ticket, and for which you now want to create an endpoint, and select it in the list of search results.
On the Configuration tab page, check the Runtime Configuration checkbox and choose New.
Start the configuration assistant by choosing the New button, and enter the following information in the relevant steps:
In step 1, specify the name of the new endpoint (such as SSL_AuthTic), and choose whether you want to add this to an existing service or to a new service to be created.
In step 2, set the options for security at transport and at message level:
For Transport Protocol, choose the HTTPS (Security at transport level) radio button
For Authentication, under HTTP Authentication, check the Logon Ticket checkbox
Choose Finish.
Note
The additional Assistant steps are not absolutely necessary for this example configuration.
On the WSDLs tab page, select the endpoint that you created above (for example, SSL_AuthTic), and call up its WSDL document.
In the SAP NetWeaver Administrator of the consumer system, choose , and then the Consumer Proxies tab page.
On the Consumer Proxies tab page, search for the consumer proxy with which the service endpoint is to be accessed for which you want to create a logical port, and select it in the list of search results.
On the Configuration tab page, select Runtime Configuration.
Start the configuration assistant by choosing the New button, and enter the following information in the relevant steps:
In step 1, choose Import from WSDL-URL to import the logical endpoint from the WSDL document that you called in the provider system.
In step 2, copy the URL of the WSDL document opened above for the endpoint you created above (such as SSL_AuthTic), and enter this in the field WSDL URL.
In step 3, specify the endpoint created in the provider system.
In step 4, specify a name for the logical port.
Choose Finish.