cancel
Showing results for 
Search instead for 
Did you mean: 

No credentials were supplied Unable to establish the security context target ,SAPCRYPTO

Former Member
0 Kudos

Hi Gurus,

we have .Net application that is connecting to our SAP ABAP system.we have configured SNC with SAPCRYPTOLIB library by exchanging both servers Public key certificate.

Below are the steps i have performed:

1) Installed cryptographic library in .Net application

2) Created an SNC PSE for the .Netapp server

3) created credentials for .Netapp server (as a prerequisite SECUDIR set to the location where PSE is stored) using SAPGENPSE seclogin

4) Exported the .NETapp server’s public-key certificate using the configuration tool’s command export_own_cert.

5)Imported the .NETapp Server’s public-key certificate into the application server’s SNC PSE.

6)Exported the SAP ABAP application server’s public-key certificate using STRUST.

7) Imported the SAP application server’s public-key certificate into the .NETapp Server’s SNC PSE using the configuration tool’s command maintain_pk.

Thus two servers can identify each other using SNC.

We are using below parameters to connect to SAP system from .Net

SAP hostname: /H/router_IP/S/3291/H/SAP_ABAP_IP

Client: 500

sys no: 00

Snc library path: C:/sapcryptolib/sapcrypto.dll

SNC partnername: p:CN=N74, OU=I0022934564, OU=SAP Web AS, O=SAP TrustCommunity, C=DE

while creating connection we are getting below error "ERROR GSS-API(maj): No credentials were supplied .Unable to establish the security context

target p:CN=N74, OU=I0022934564, OU=SAP Web AS, O=SAP TrustCommunity, C=DE "

for troubleshooting steps i have deleted credentials from .net aap server and recreated the credentials but still getting the same issue. Since we are using routerstring , is there anything that we need to look into from router point of veiw.

Please let me know what to look and how to troubleshoot the issue.

Thanks,

kriss

Accepted Solutions (0)

Answers (0)