-
Notifications
You must be signed in to change notification settings - Fork 306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
APPSERV-151 Command to Generate a CSR #4700
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some comments, wanted to give you more time while I am testing to eventually start working on them.
...t/src/main/java/fish/payara/certificate/management/CertificateManagementKeytoolCommands.java
Show resolved
Hide resolved
...t/src/main/java/fish/payara/certificate/management/CertificateManagementKeytoolCommands.java
Outdated
Show resolved
Hide resolved
...t/src/main/java/fish/payara/certificate/management/CertificateManagementKeytoolCommands.java
Show resolved
Hide resolved
* @throws MiniXmlParserException If there's an issue reading the domain.xml | ||
* @throws CommandException If there's an issue getting the master password | ||
*/ | ||
private void getStorePasswords(MiniXmlParser parser, String listener, File serverDir) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At some point it would be nice to move all the XML processing to one place. Maybe not now.
...ificate-management/src/main/manpages/fish/payara/certificate/management/admin/generate-csr.1
Outdated
Show resolved
Hide resolved
...ificate-management/src/main/manpages/fish/payara/certificate/management/admin/generate-csr.1
Show resolved
Hide resolved
jenkins test please |
Database error? Que? |
Jenkins test please |
jenkins test please |
Jenkins test please |
Jenkins test please |
1 similar comment
Jenkins test please |
Description
Adds a command to generate a CSR from the key store of a target instance or listener, placing the resultant CSR file under
payara5/glassfish/tls/${alias}.csr
Important Info
Based off of #4694.
This PR actually only consists of three commits:
Testing
New tests
None
Testing Performed
Manually ran:
Testing Environment
Windows 10, JDK 8
Notes for Reviewers
To build please specify the BuildExtras profile and manually copy-pasta the Jar from appserver/extras/certificate-management/ into the payara5/glassfish/lib/asadmin directory.