Skip to content
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

Store Creation Doesn't Work with OpenJDK 15 #33

Open
SarahD443 opened this issue Nov 19, 2021 · 0 comments
Open

Store Creation Doesn't Work with OpenJDK 15 #33

SarahD443 opened this issue Nov 19, 2021 · 0 comments

Comments

@SarahD443
Copy link

Created a new JKS-SSH certificate store through the Keyfactor Command management portal and got this error indicating "The -keyalg option must be specified" on my machine running Java 15. Also note that the job reported that it completed successfully even though it failed and the store was not created.

2021-11-18 10:42:11.7001 JavaKeyStoreSSH.RemoteHandlers.WinRMHandler [Debug] - WinRM Results: java -version 2>&1::: openjdk version "15" 2020-09-15
OpenJDK Runtime Environment (build 15+36-1562)
OpenJDK 64-Bit Server VM (build 15+36-1562, mixed mode, sharing)

2021-11-18 10:42:11.7001 JavaKeyStoreSSH.Management [Debug] - Begin Create Operation for c:\stuff\jks\turkey1.jks on http://websrvr93.keyexample.com:5985.
2021-11-18 10:42:11.7001 JavaKeyStoreSSH.RemoteHandlers.WinRMHandler [Debug] - RunCommand: http://websrvr93.keyexample.com:5985
2021-11-18 10:42:11.7001 JavaKeyStoreSSH.RemoteHandlers.WinRMHandler [Debug] - RunCommand: echo '' | & 'keytool' -genkeypair -keystore 'c:\stuff\jks\turkey1.jks' -storepass [PASSWORD] -dname "cn=New Certificate Store" -validity 1 -alias "NewCertStore"
2021-11-18 10:42:12.1849 JavaKeyStoreSSH.RemoteHandlers.WinRMHandler [Debug] - WinRM Results: echo '' | & 'keytool' -genkeypair -keystore 'c:\stuff\jks\turkey1.jks' -storepass [PASSWORD] -dname "cn=New Certificate Store" -validity 1 -alias "NewCertStore"::: keytool error: java.lang.Exception: The -keyalg option must be specified.

2021-11-18 10:42:12.2785 g [Debug] - AnyJob execution finished with status 2 and message Successful

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

No branches or pull requests

1 participant