diff --git a/jsign-core/src/main/java/net/jsign/SafeNetEToken.java b/jsign-core/src/main/java/net/jsign/SafeNetEToken.java index 82bc32bd..b57233ee 100644 --- a/jsign-core/src/main/java/net/jsign/SafeNetEToken.java +++ b/jsign-core/src/main/java/net/jsign/SafeNetEToken.java @@ -53,7 +53,7 @@ static String getSunPKCS11Configuration() { if (!library.exists()) { throw new ProviderException("SafeNet eToken PKCS11 module is not installed (" + library + " is missing)"); } - String configuration = "--name=SafeNet eToken\nlibrary = \"" + library.getAbsolutePath().replace("\\", "\\\\") + "\"\n"; + String configuration = "--name=\"SafeNet eToken\"\nlibrary = \"" + library.getAbsolutePath().replace("\\", "\\\\") + "\"\n"; try { long slot = getTokenSlot(library); if (slot >= 0) {