Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006258 [Resin] minor always 06-08-19 15:46 06-09-19 14:34
Reporter nam View Status public  
Assigned To nam
Priority normal Resolution fixed  
Status closed   Product Version 4.0.62
Summary 0006258: JSSE ConfigException when key password is null for spring boot support
Description When the key password is not set, but keyStore password is set, Resin throws:

    com.caucho.config.ConfigException: 'password' is required for JSSE.

This looks like the check is incorrect:

    if (_keyStoreFile != null
        && (_password == null
            && (_keyStorePassword == null || _keyManagerPassword == null))) {
      throw new ConfigException(L.l("'password' is required for JSSE."));
    }

The OR should be an AND:

    _keyStorePassword == null && _keyManagerPassword == null
Additional Information
Attached Files

- Relationships

- Notes
(0006901)
nam
06-09-19 14:34

network/051b
 

- Issue History
Date Modified Username Field Change
06-08-19 15:46 nam New Issue
06-08-19 15:52 nam Summary JSSE key password can be null for spring boot support => JSSE ConfigException when key password is null for spring boot support
06-08-19 15:52 nam Description Updated
06-09-19 00:25 nam Status new => assigned
06-09-19 00:25 nam Assigned To  => nam
06-09-19 14:34 nam Note Added: 0006901
06-09-19 14:34 nam Status assigned => closed
06-09-19 14:34 nam Resolution open => fixed


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker