cancel
Showing results for 
Search instead for 
Did you mean: 

Certificate vs Keys

itabhishek9
Participant
0 Kudos

Hi SDNites,

I am trying to set up a SSL connection for SOAP over HTTPS. While doing that, I wanted to get more details on Certificates and keys and what is the difefrence between them and either of them is used in which scenario.

Any help on above is appreciated.

Regards,

Abhi

Accepted Solutions (0)

Answers (2)

Answers (2)

itabhishek9
Participant
0 Kudos

Harish / Evgeniy - Thanks for your response.

As Evegeniy mentioned Certificate comprise of Public key. My understanding is also the same.

In my scenario, I have generated a self signed certificate and a private key on behalf of 3rd party as I am using SOAP UI for testing. The self signed certificate generated is uploaded in PI NWA under ICM_SSL***** and the Private key is used in SOAP UI to send the request from SOAP UI to SAP PI.

1. In this case if I pass the certificate and pass user name and password as well, I am getting error as client certificate required.

2. if I pass the certificate and don't pass user name and password as well, I am getting error as unauthorized. (My understanding is this approach is correct and if it is why I am getting this error)

Also here I getting the certificate only from 3rd party and we are not passing any certificate to them. My understanding is this is client authentication and as we are not providing anything to client they will not be able to authenticate us. Please confirm.

Also due to HTTPS, data gets encrypted automatically and we do not mandatory require to exchange certificates for encryption. Please confirm.

Harish
Active Contributor
0 Kudos

Hi Abhishek,

The certificate is pair of key. The public and private key. So every certificate contains the key.

In HTTPs protocol sender system encrypt the message using public key of receiver and then receive will decrypt using its private key.

regards,

Harish

former_member190293
Active Contributor
0 Kudos

Small addition to Harish's answer: certificate contains only public key.

Regards, Evgeniy.