Skip to content

GeoServer SSL Configuration Properties Encryption Support#1088

Merged
rfecher merged 5 commits intomasterfrom
geoserver_security
May 5, 2017
Merged

GeoServer SSL Configuration Properties Encryption Support#1088
rfecher merged 5 commits intomasterfrom
geoserver_security

Conversation

@mcarrier7
Copy link
Copy Markdown
Contributor

@mcarrier7 mcarrier7 commented May 3, 2017

Adding ability for GeoServer SSL passwords to be encrypted in the config properties, same way that other passwords are treated. To do this, set command was updated to allow for a 'password' parameter to be specified that, if true, will encrypt a value when setting a key's value. On loading the SSL connection configurations, the code was updated to check for and decrypt encrypted values being loaded, namely the passwords for key, keystore, and truststore

…fig properties, same way that other passwords are treated. To do this, set command was updated to allow for a 'password' parameter to be specified that, if true, will encrypt a value when setting a key's value. On loading the SSL connection configurations, the code was updated to check for and decrypt encrypted values being loaded, namely the passwords for key, keystore, and truststore
@mcarrier7 mcarrier7 changed the title Adding ability for GeoServer SSL passwords to be encrypted in the con… GeoServer SSL Configuration Properties Encryption Support May 3, 2017
mcarrier7 and others added 4 commits May 4, 2017 21:31
…ptional parameters when configuring geoserver through geoserver config command. Also adding ability to override the jcommander usage, to make the geoserver config command help easier to read, with the 14 additional fields added. Also adding username/password validation to the geoserver config command that will prompt a user for the username if not entered and the password is specified, or vice-versa for password if only username is entered.
@rfecher rfecher merged commit d4f3692 into master May 5, 2017
@rfecher rfecher deleted the geoserver_security branch May 5, 2017 21:00
rfecher pushed a commit that referenced this pull request May 5, 2017
* Adding ability for GeoServer SSL passwords to be encrypted in the config properties, same way that other passwords are treated. To do this, set command was updated to allow for a 'password' parameter to be specified that, if true, will encrypt a value when setting a key's value. On loading the SSL connection configurations, the code was updated to check for and decrypt encrypted values being loaded, namely the passwords for key, keystore, and truststore

* Update GeoServerConfig.java

* Adding a change to allow ssl configuration options to be entered as optional parameters when configuring geoserver through geoserver config command. Also adding ability to override the jcommander usage, to make the geoserver config command help easier to read, with the 14 additional fields added. Also adding username/password validation to the geoserver config command that will prompt a user for the username if not entered and the password is specified, or vice-versa for password if only username is entered.

* reverted masking password
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants