db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siddharth Srivastava (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DERBY-4795) Starting network server with -ssl turns SSL off
Date Tue, 31 May 2011 21:20:47 GMT

     [ https://issues.apache.org/jira/browse/DERBY-4795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Siddharth Srivastava updated DERBY-4795:
----------------------------------------

    Attachment: d4795.diff

Attached is the fix for this issue. 

The output with: java -jar derbynet.jar start -ssl  is

Wed Jun 01 02:45:21 IST 2011 : Missing required value for sslmode.
Usage: NetworkServerControl <commands>
Commands:
start [-h <host>] [-p <portnumber>] [-noSecurityManager] [-ssl <sslmode>]
shutdown [-h <host>][-p <portnumber>] [-ssl <sslmode>] [-user <username>]
[-pass
word <password>]
ping [-h <host>][-p <portnumber>] [-ssl <sslmode>]
sysinfo [-h <host>][-p <portnumber>] [-ssl <sslmode>]
runtimeinfo [-h <host>][-p <portnumber>] [-ssl <sslmode>]
logconnections {on|off} [-h <host>][-p <portnumber>] [-ssl <sslmode>]
maxthreads <max>[-h <host>][-p <portnumber>] [-ssl <sslmode>]
timeslice <milliseconds>[-h <host>][-p <portnumber>] [-ssl <sslmode>]
trace {on|off} [-s <session id>][-h <host>][-p <portnumber>] [-ssl <sslmode>]
tracedirectory <traceDirectory>[-h <host>][-p <portnumber>] [-ssl <sslmode>]
Wed Jun 01 02:45:21 IST 2011 : No command given.
Usage: NetworkServerControl <commands>
Commands:
start [-h <host>] [-p <portnumber>] [-noSecurityManager] [-ssl <sslmode>]
shutdown [-h <host>][-p <portnumber>] [-ssl <sslmode>] [-user <username>]
[-pass
word <password>]
ping [-h <host>][-p <portnumber>] [-ssl <sslmode>]
sysinfo [-h <host>][-p <portnumber>] [-ssl <sslmode>]
runtimeinfo [-h <host>][-p <portnumber>] [-ssl <sslmode>]
logconnections {on|off} [-h <host>][-p <portnumber>] [-ssl <sslmode>]
maxthreads <max>[-h <host>][-p <portnumber>] [-ssl <sslmode>]
timeslice <milliseconds>[-h <host>][-p <portnumber>] [-ssl <sslmode>]
trace {on|off} [-s <session id>][-h <host>][-p <portnumber>] [-ssl <sslmode>]
tracedirectory <traceDirectory>[-h <host>][-p <portnumber>] [-ssl <sslmode>]

The regressions (suites.All) is curretly being performed. I would update the status of regression
test once it is complete.

> Starting network server with -ssl turns SSL off
> -----------------------------------------------
>
>                 Key: DERBY-4795
>                 URL: https://issues.apache.org/jira/browse/DERBY-4795
>             Project: Derby
>          Issue Type: Bug
>          Components: Network Server
>    Affects Versions: 10.6.1.0
>            Reporter: Knut Anders Hatlen
>            Assignee: Siddharth Srivastava
>              Labels: derby_triage10_8
>         Attachments: d4795.diff
>
>
> If you start the network server with the -ssl option and no <sslmode> argument,
the server will be started in plain text mode.
> For example:
> java -jar derbynet.jar start -ssl
> If -ssl is specified without <sslmode>, I would have expected that SSL was enabled
(not sure which SSL mode, basic or peerAuthentication, is more appropriate) or that the command
failed because of the missing argument. Treating "-ssl" as an alias for "-ssl off" sounds
unintuitive to me.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message