The java_certificate resource is currently unable to fetch a TLS certificate from endpoints that use a TLS negotiation protocol other than HTTPS. The ability to fetch certificates from other endpoints such as smtp, mysql, ldap, etc would be very useful.
:grey_question: Possible Solution
Add a starttls property to the java_certificate resource and pass it to the openssl command as needed.
:arrow_heading_up: Describe alternatives you've considered
Short of using an entirely different resource or shelling out directly, this feature is missing.
:person_frowning: Problem Statement
The
java_certificate
resource is currently unable to fetch a TLS certificate from endpoints that use a TLS negotiation protocol other than HTTPS. The ability to fetch certificates from other endpoints such as smtp, mysql, ldap, etc would be very useful.:grey_question: Possible Solution
Add a
starttls
property to thejava_certificate
resource and pass it to the openssl command as needed.:arrow_heading_up: Describe alternatives you've considered
Short of using an entirely different resource or shelling out directly, this feature is missing.
:heavy_plus_sign: Additional context
I'm working on a pull request for this.