EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Problem to configure access Token with java applet

Also by EldoS: Callback File System
Create virtual file systems and disks, expose and manage remote data as if they were files on the local disk.
Posted: 11/21/2012 19:47:28
by Daniel Oliveira (Basic support level)
Joined: 11/20/2012
Posts: 19

I'm trying to get the Java Applet (Distributed Cryptography add-on) to access the digital certificate on a token. In the documentation'm driven configure the JRE provider inserted in the configuration file java.security, follows the inserted row:

security.provider.7 = sun.security.pkcs11.SunPKCS11 safesign.cfg

Safesign.cfg The file is in the same directory java.security file and its content is:

name = Starsign
library = C: \ windows \ syswow64 \ aetpkss1.dll

When running the applet on the page the following error is reported:

Error parsing configuration

I can not see problems in the setup steps. And plus, my operating system is 64-bit JRE and I have 64 and 32 bit, I realized that the applet uses the configuration file of 32-bit JRE, correct?

Thank you.
Posted: 11/22/2012 04:09:35
by Alexander Ionov (EldoS Corp.)

Actually questions about configuring security providers must be addressed to Oracle, not to EldoS Corporation. This is because the applet does not parse any configuration and works with JRE.
Maybe it's required to specify full path name to the token configuration file.
I can only provide parts from my configuration files that do work on my Windows 7 x64 system.
From java.security:
security.provider.7=sun.security.pkcs11.SunPKCS11 c:/temp/etoken.cfg

Content of the specified etoken.cfg:

Hope this will help you to configure your JRE.

Best regards,
Alexander Ionov
Posted: 11/22/2012 04:48:19
by Daniel Oliveira (Basic support level)
Joined: 11/20/2012
Posts: 19

Just to inform to others who may come across this same problem, the message:

Error parsing configuration file

is used for various other errors and not only to address issues of file structure.

In my case, the DLL is in the SysWOW64 drive, and solved the problem by referencing the System32:

C: \ windows \ system32 \ aetpkss1.dll

That is, the provider could not locate the DLL and reported such a generic error.

Thank you.
Posted: 11/22/2012 04:52:17
by Vsevolod Ievgiienko (EldoS Corp.)

Thank you for the information. It could be helpful for other users.



Topic viewed 2412 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!