[ 
https://issues.apache.org/jira/browse/DIRSTUDIO-1087?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15149248#comment-15149248
 ] 

Stefan Seelmann commented on DIRSTUDIO-1087:
--------------------------------------------

[~hdeadman], do you get any error message, then please paste that here.

I'm able to store a value like {{C:\keystoredir\keystore.jks}}. However when I 
use another value like {{C:\a\b\c}} then I get the following error:

{code}
org.apache.directory.api.ldap.model.exception.LdapInvalidAttributeValueException:
 ERR_04447_CANNOT_NORMALIZE_VALUE Cannot normalize the wrapped value 
ERR_04473_NOT_VALID_VALUE Not a valid value 'C:\a\b\c' for the AttributeType 
'attributetype ( 1.3.6.1.4.1.18060.0.4.1.2.308 NAME 'ads-keystoreFile'
        DESC 'The keystore file to use to store certificates'
        EQUALITY caseExactMatch
        ORDERING caseExactOrderingMatch
        SUBSTR caseExactSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
        SINGLE-VALUE
        USAGE userApplications )'
        at 
org.apache.directory.api.ldap.model.entry.AbstractValue.apply(AbstractValue.java:226)
        at 
org.apache.directory.api.ldap.model.entry.StringValue.<init>(StringValue.java:122)
        at 
org.apache.directory.api.ldap.model.entry.DefaultAttribute.<init>(DefaultAttribute.java:478)
        at 
org.apache.directory.api.ldap.model.entry.DefaultEntry.<init>(DefaultEntry.java:315)
        at 
org.apache.directory.studio.apacheds.configuration.editor.ServerConfigurationEditorUtils.saveConfiguration(ServerConfigurationEditorUtils.java:441)
        at 
org.apache.directory.studio.apacheds.configuration.jobs.SaveConfigurationRunnable.run(SaveConfigurationRunnable.java:117)
        at 
org.apache.directory.studio.common.core.jobs.StudioJob.run(StudioJob.java:85)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: 
org.apache.directory.api.ldap.model.exception.LdapInvalidAttributeValueException:
 ERR_04473_NOT_VALID_VALUE Not a valid value 'C:\a\b\c' for the AttributeType 
'attributetype ( 1.3.6.1.4.1.18060.0.4.1.2.308 NAME 'ads-keystoreFile'
        DESC 'The keystore file to use to store certificates'
        EQUALITY caseExactMatch
        ORDERING caseExactOrderingMatch
        SUBSTR caseExactSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
        SINGLE-VALUE
        USAGE userApplications )'
        at 
org.apache.directory.api.ldap.model.entry.AbstractValue.apply(AbstractValue.java:219)
        ... 7 more
{code}

> Keystore path doesn't accept windows backslash in path
> ------------------------------------------------------
>
>                 Key: DIRSTUDIO-1087
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-1087
>             Project: Directory Studio
>          Issue Type: Bug
>          Components: studio-apacheds-configuration
>    Affects Versions: 2.0.0-M10 (2.0.0.v20151221-M10)
>         Environment: Windows
>            Reporter: Hal Deadman
>            Priority: Minor
>             Fix For: 2.0.0-M11
>
>
> In the configuration editor on the SSL/Start TLS Keystore section, when you 
> click browse and select a keystore it will populate a path like 
> C:\keystoredir\keystore.jks. You won't be able to save this without changing 
> it to C:/keystoredir/keystore.jks. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to