-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
SAML-plugin 1.0.5
The SAML plugin automatically generates a keystore in /tmp (when it has not been manually configured otherwise). However, /tmp files are subject to garbage collection; if the keystore is subsequently deleted by a cleanup process (e.g. tmpwatch, systemd-tmpfiles-clean, etc), it will break SAML authentication and require a restart of the Jenkins process.
Being able to specify a path or directory for where to create the autogenerated keystore would solve this problem.
The existing mechanism for specifying a keystore requires configuring the plugin manually with a key password and keystore password. We deploy and manage a fleet of Jenkins instances via Ansible and are limited to configuration options that can be scripted. The automatically generated keystore would be a satisfactory solution if it were not subject to garbage collection.
- is duplicated by
-
JENKINS-49747 java.io.FileNotFoundException: /tmp/saml-jenkins-keystore-5345145658381646927.jks (No such file or directory)
- Resolved
- is related to
-
JENKINS-50016 Contents of saml-sp-metadata.xml changes whenever jenkins service is restarted locking users out
- Resolved
- links to