Mantis - Resin
Viewing Issue Advanced Details
6258 minor always 06-08-19 15:46 06-09-19 14:34
nam  
nam  
normal  
closed 4.0.62  
fixed  
none    
none  
0006258: JSSE ConfigException when key password is null for spring boot support
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

Notes
(0006901)
nam   
06-09-19 14:34   
network/051b