Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


SSL Cert mismatch error

Posted on 2013-12-05
Medium Priority
Last Modified: 2016-07-13

In order to have a secured  and trusted communication between our SAP PI system and our partner, we bought the public SSL Cert and sent to our partner for import to their system (which is to be able to connect to our server and drop some files). When the partner is browsing the URL that we gave him, he is saying that our server is not sending the actual SSL cert that we shared with the partner. That means the Cert mismatch error is found which is halting the further testing. During the handshake our server, seems like, is sending the self signed cert by default, instead of the SSL cert that we bought. Our side of OS is AIX and SAP is installed on it.
Question by:gauravshar
LVL 15

Expert Comment

by:Giovanni Heward
ID: 39700053
The certificate needs to be installed on the server hosting the service.  Anyone accessing that service will be presented with the certificate (containing the public key) automatically.
LVL 48

Expert Comment

ID: 39700351
You need to install the SSL cert on your server.
LVL 66

Expert Comment

ID: 39700716
the server certificate should have the subject name stating the server fqdn or website domain including hostname. this ssl server also need to ensure it is performing server authentication purpose as stated in the certificate. I do suspect the certificate is not in the SAP service server or user has browsed through some proxy which is why the actual server cert is not send over ... may have to also check its browser if there is any proxy plugin etc
Evaluating UTMs? Here's what you need to know!

Evaluating a UTM appliance and vendor can prove to be an overwhelming exercise.  How can you make sure that you're getting the security that your organization needs without breaking the bank? Check out our UTM Buyer's Guide for more information on what you should be looking for!


Author Comment

ID: 39700984
The cert is already installed on the server..

Author Comment

ID: 39701013
It looks like the cert is not installed at the right place somewhere. when I browse the site internally too, it shows the self signed cert, not the SSL cert.

The issuesd to and issued by are the same entity here.. that is server itself.
LVL 66

Expert Comment

ID: 39701095
Minimally the cert need to be in the machine certificate store e.g.
LVL 66

Expert Comment

ID: 39701114

Expert Comment

ID: 39733305
If you bought the certificate from an authority like Verisign, check if your server has them as a provider. Many times, we find smaller providers like ncode etc, that are not accepted as these authorities certificates are not added to the servers or authorities certificate list. You can check if the authority that issued you the certificate is on your server if you have internet explorer or firefox. Go to Edit -> Preferences -> Advanced -> Certificates -> View Certificates in firefox to find out.
LVL 66

Accepted Solution

btan earned 2000 total points
ID: 41703622
I rather take a step back to address the question since author no longer exist - looking at the profile activities...

Each SAP System is supplied with a public-key pair, which includes a public-key certificate, that is stored in its own system Personal Security Environment (PSE). It also supports the Secure Sockets Layer (SSL) protocol, which provides for authentication between communication partners and encrypted communications. In your case, it is likely the SSL use case applies.

So to go into deploying the SSL certificate, we take reference from SAP provided step through on configuring the SAP Web AS for Supporting SSL as an example - specially on Step (3)
Create and maintain the SSL Server PSEs as follows:
  a.  Create the SSL server PSEs.
  b.  Generate a certificate request for each SSL server PSE.
  c.  Send the certificate requests to a CA to be signed.
  d.  Import the certificate request responses into the server's SSL server PSEs.
  e.  Maintain the SSL server PSE's certificate list.

In this case of mismatch, we need t to ensure the above steps are followed through whereby the CSR is generated and eventually send to 3rd party CA or internal CA to get the SSL cert that can be imported and bind to SAP server to use it for all SSL exchanges. The emphasis is on step 3(d) and 3(e)
3(d) Import the certificate request responses into the server's SSL server PSEs.

From the Trust Manager screen:
Expand the
> SSL server PSE node.

For each application server that is to receive a signed certificate:

Select the application server with a double-click.
> The application server's SSL server PSE is displayed in the PSE maintenance section.
In the PSE maintenance section, choose This graphic is explained in the accompanying text Import Cert. Response.

The dialog for the certificate request response appears.
> Insert the contents of the certificate request response into the dialog's text box (using This graphic is explained in the accompanying textPaste) or select the response from the file system by using This graphic is explained in the accompanying text Load local file.

The signed public-key certificate is imported into the server's SSL server PSE, which is displayed in the PSE maintenance section. You can view the certificate by selecting it with a double-click. The certificate information is then shown in the certificate maintenance section.

Save the data.
3(e) Maintaining the SSL Server PSE's Certificate List

You have access to the CA's root certificate. For example, the SAP CA's certificate is available in the SAP system. If you use a different CA, then you must obtain its public-key certificate and store it in one of the available storage locations (for example, in the certificate database). If you have already imported the CA's certificate to a different PSE on the application server, then you can also use the trust manager to copy it from the PSE into the SSL server PSE.

Importing the CA's Root Certificate From the File System
If the CA's public-key certificate is located in the file system:
In the certificate section, choose This graphic is explained in the accompanying textImport certificate.
>The Import Certificate dialog appears.

Enter the corresponding file name from the file system.

Select the certificate's file format.

Note - If you are not sure which format to select, open the certificate in a text browser that does not use formatting, for example, Notepad. If the contents are readable (although encoded), then the format is Base 64. Otherwise the format is binary.

Choose Enter.
> The certificate appears in the certificate maintenance section.

Choose This graphic is explained in the accompanying textAdd to Certificate List.
> The certificate is added to the certificate list for the PSE displayed in the PSE maintenance section.

Save the data.
LVL 66

Expert Comment

ID: 41703628
I proposed http://#ID:41703622 as the solution to this question since it run through the proper steps by SAP guide in importing of SSL certificate into SAP web server. The link has more details on the guidance.
LVL 66

Expert Comment

ID: 41704412
Noted thanks for the advice and will consider it. just that my writing skills for article has been below acceptable level of the editorial team..maybe is because of the topic that I chose.

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
It all started with a phone call.  The then acting director of the Office of Research Computing, called to ask me to remotely shutdown my computer, it was Yom Kippur, Wednesday October 12, 2016.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses
Course of the Month10 days, 19 hours left to enroll

572 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question