RSA Authentication Agent API 8.6 for C Developer
Hit a problem with RSA_BSAFE_LIBRARY_PATH in rsa_api.properties. Unable to get pass AceInitializeEx(). Tried assigning different values to RSA_BSAFE_LIBRARY_PATH including
- RSA_BSAFE_LIBRARY_PATH = .
- RSA_BSAFE_LIBRARY_PATH = /usr/local/lib
The aceclnt.log is shown below:
____________________________________________________________________________________
116-09-11 05:16:39 4294967295.12129.2404185920 [E] info@(#)RSA ACE/Agent Version 8.6.0.0.0[075]
input path is not empty :/var/ace/RSA_AuthSDK/rsa_api.properties
input path is of properties file
116-09-11 05:16:39 4294967295.12129.2404185920 [E] error Repository.cpp 142 "RSA_BSAFE_LIBRARY_PATH" TAG is either not set or set to invalid folder location. Set it to valid path.
116-09-11 05:16:39 4294967295.12129.2404185920 [V] verbose AuthSessionFactory.cpp 161 Leaving shutdown()
116-09-11 05:16:39 4294967295.12129.2404185920 [V] verbose AuthSessionFactory.cpp 85 Leaving ~AuthSessionFactory()
116-09-11 05:16:39 4294967295.12129.2404185920 [V] verbose SD_API.cpp 144 Leaving _AceInitializeEx()
116-09-11 05:16:39 4294967295.12129.2404185920 [V] verbose SD_API.cpp 593 Leaving _SD_InitEx()
________________________________________________________________________________________________
root@december:/var/ace/RSA_AuthSDK# ls -l lib*
-rwxrwx--- 1 root root 459586 Jun 4 01:52 libccme_asym.so
-rwxrwx--- 1 root root 743214 Jun 4 01:52 libccme_base.so
-rwxrwx--- 1 root root 2928 Jun 4 01:52 libcryptocme.sig
-rwxrwx--- 1 root root 455973 Jun 4 01:52 libcryptocme.so
root@december:/var/ace/RSA_AuthSDK# ls
december libccme_base.so Logs sdconf.rec
failover.dat libcryptocme.sig nodesecret.rec
libccme_asym.so libcryptocme.so rsa_api.properties
root@december:/var/ace/RSA_AuthSDK# cd /usr/local/lib
root@december:/usr/local/lib# ls -l libccme* libcryptocme*
-rwxrwx--- 1 root root 459586 Jun 4 01:52 libccme_asym.so
-rwxrwx--- 1 root root 743214 Jun 4 01:52 libccme_base.so
-rwxrwx--- 1 root root 2928 Jun 4 01:52 libcryptocme.sig
-rwxrwx--- 1 root root 455973 Jun 4 01:52 libcryptocme.so
____________________________________________________________________________
Urgently need help to sort this out.
It is saying it cannot find the tag for the bsafe path at all...or it is an invalid path.
not exactly sure why.
Add the RSA_BSAFE_LIBRARY_PATH Tag in rsa_api.properties
The 8.6 APIs require the RSA_BSAFE_LIBRARY_PATH tag in the
rsa_api.properties file. This tag specifies the location of the BSAFE libraries:
• For Linux: libccme_asym.so, libccme_base.so, libcryptocme.sig,
libcryptocme.so
Note: The SDK fails to initialize if this tag is not included in rsa_api.properties.
To add the RSA_BSAFE_LIBRARY_PATH in rsa_api.properties:
Do the following:
• To migrate an agent created with 8.5 APIs, you must edit the rsa_api.properties
file to include the RSA_BSAFE_LIBRARY_PATH tag.
• To migrate an agent created with 8.1 APIs, you must create an rsa_api.properties
file that includes the RSA_BSAFE_LIBRARY_PATH tag.
By default, the value is set to
“.”
Use the default value “.” if the BSAFE libraries are located in the directory
containing the binaries that are using the SDK.
-----------------------------------------
the section of the rsa_api.properties file
# No. of log files to be created before log file rotation. Default value is 10.
# RSA_LOG_FILE_COUNT = 10
# Specify the path where the BSAFE libraries are located.
RSA_BSAFE_LIBRARY_PATH=.
be sure it is not commented out with a # symbol