db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernt M. Johnsen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-2795) Unable to bring up server with SSL peer authentication enabled
Date Mon, 11 Jun 2007 08:27:26 GMT

    [ https://issues.apache.org/jira/browse/DERBY-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12503324

Bernt M. Johnsen commented on DERBY-2795:

Thanks for taking time to test SSL. You encountered two bugs:
1) Typo in the manual. It should be "-ssl peerAuhentication"
2) Misspelled arguments to -ssl is ignored and it defaults to no ssl instead of giving an
error message.

> Unable to bring up server with SSL peer authentication enabled
> --------------------------------------------------------------
>                 Key: DERBY-2795
>                 URL: https://issues.apache.org/jira/browse/DERBY-2795
>             Project: Derby
>          Issue Type: Bug
>    Affects Versions:
>            Reporter: Rick Hillegas
>             Fix For:
> I was able to bring up the server with basic SSL support (-ssl basic). The server came
up and printed this diagnostic:
>   Apache Derby Network Server - alpha - (545529M) started and ready to accept
SSL connections on port 8246 at 2007-06-08 19:11:51.449 GMT
> However, when I brought up the server with SSL peer authentication (-ssl authenticate),
the server came up without printing out an SSL diagnostic. I was able to connect to the server
from a client which did not request ssl on the connection URL. I was able to shutdown the
server without specifying an ssl option on the shutdown command line. Here is the command
I used to bring up the network server with SSL peer authentication:
> java \
>   -Dderby.connection.requireAuthentication=true \
>   -Dderby.authentication.provider=BUILTIN \
>   -Dderby.user.\"rick\"=rickspassword \
>   -Dderby.database.sqlAuthorization=true \
>   -Djavax.net.ssl.keyStore=/export/home/rh161140/derby/keystores/serverKeyStore.key \
>   -Djavax.net.ssl.keyStorePassword=serverKeystorePassword \
>   -Djavax.net.ssl.trustStore=/export/home/rh161140/derby/keystores/serverKeyStore.key
>   -Djavax.net.ssl.trustStorePassword=serverKeystorePassword \
>   org.apache.derby.drda.NetworkServerControl start -p 8246 -ssl peerAuthenticate

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message