Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

SNC configuration

Former Member
0 Kudos

Hi Gurus,

i am configuration SNC using SAP Cryptographic Library

i have installed sap crypto package also

when i am trying to enable the profile <b>snc\enable</b> to "1"

after that when i restarted the server the server is not starting up the dispatcher is down

can any body please suggest on this

thanks and Regards,

Kishore

5 REPLIES 5

tim_alsop
Active Contributor
0 Kudos

You need to check the log file (e.g. dev_w0) and look for Snc related msgs. There you will find the reason why dispatcher is down.

Thanks,

Tim

Former Member
0 Kudos

Hi Tim,

thanks for your reply the below is the error i am getting

File "E:\usr\sap\DP8\DVEBMGS15\exe\sapcrypto.dll" dynamically loaded as GSS-API v2 library.

N The internal Adapter for the loaded GSS-API mechanism identifies as:

N Internal SNC-Adapter (Rev 1.0) to SECUDE 5/GSS-API v2

N SncInit(): found snc/identity/as=p:CN=DP8, OU=I0020098241, OU=SAP Web AS, O=SAP Trust Community, C=SA

N *** ERROR => SncPAcquireCred()==SNCERR_GSSAPI [sncxxall.c 1432]

N GSS-API(maj): No credentials were supplied

N GSS-API(min): SECUDE PSEDIR directory not found: E:\sec (<Default>)

N Could't acquire ACCEPTING credentials for

N

N name="p:CN=DP8, OU=I0020098241, OU=SAP Web AS, O=SAP Trust Community, C=SA"

M *** ERROR => ErrISetSys: error info too large [err.c 931]

M Tue Aug 14 11:27:30 2007

M LOCATION SAP-Server NDCDERP08_DP8_15 on host NDCDERP08 (wp 0)

M ERROR GSS-API(maj): No credentials were supplied

M GSS-API(min): SECUDE PSEDIR directory not found: E:\sec (<Default>)

M name="p:CN=DP8, OU=I0020098241, OU=SAP Web AS, O=SAP Trust Community, C=SA"

M TIME Tue Aug 14 11:27:30 2007

M RELEASE 700

M COMPONENT SNC (Secure Network Communication)

M VERSION 5

M RC -4

M MODULE sncxxall.c

M LINE 1432

M DETAIL SncPAcquireCred

M SYSTEM CALL gss_acquire_cred

M ERRNO

M ERRNO TEXT

M DESCR MSG NO

M DESCR VARGS GSS-API(maj): No credentials were supplied;;;;

M ;;;;GSS-API(min): SECUDE PSEDIR directory not found: E:\sec (<Default>);;;;

M ;;;;name="p:CN=DP8, OU=I0020098241, OU=SAP Web AS, O=SAP Trust Community, C=SA"

M DETAIL MSG N

M DETAIL VARGS

M COUNTER 1

N SncInit(): Fatal -- Accepting Credentials not available!

N <<- ERROR: SncInit()==SNCERR_GSSAPI

N sec_avail = "false"

M ***LOG R19=> ThSncInit, SncInitU ( SNC-000004) [thxxsnc.c 230]

M *** ERROR => ThSncInit: SncInitU (SNCERR_GSSAPI) [thxxsnc.c 232]

M in_ThErrHandle: 1

M *** ERROR => SncInitU (step 1, th_errno 44, action 3, level 1) [thxxhead.c 10240]

please help me thanks

kishore

tim_alsop
Active Contributor
0 Kudos

Can you explain what you plan to use SNC for ?

Also, have you checked <a href="https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=%22secudepsedirdirectorynotfound%22&adv=false&sortby=cm_rnd_rankvalue">these posts in SDN</a> ?

Thanks,

Tim

Former Member
0 Kudos

Hello Kishore,

the problem is that your environment variable SECUDIR is not set properly for your SAP Service User. Currently SECUDIR is pointing to "E:\sec (<Default>)"

Regards, Uwe

Former Member
0 Kudos

Hi

I had a similar problem in Windows2008R2. There I had to set SECUDIR for <sid>adm instead for SAPService<SID>.

Cheers, Manuel