You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a new certificate store through the Keyfactor Command management portal referencing the server on which the Windows orchestrator (v8.5) was running as the target for the store. The create failed with messages seeming to suggest that the password for the store couldn't be accessed. A WinRM trace indicated that the password entered for the store at creation was in fact being passed through at the WinRM level (https://www.dpetzel.info/post/windows/debugging_winrm/).
2021-11-19 12:07:51.7264 JavaKeyStoreSSH.Management [Debug] - Begin Create Operation for c:\stuff\jks\zebra1.jks on http://websrvr38.keyexample.com:5985.
2021-11-19 12:07:51.7264 JavaKeyStoreSSH.RemoteHandlers.WinRMHandler [Debug] - RunCommand: http://websrvr38.keyexample.com:5985
2021-11-19 12:07:51.7264 JavaKeyStoreSSH.RemoteHandlers.WinRMHandler [Debug] - RunCommand: echo '' | & 'keytool' -genkeypair -keystore 'c:\stuff\jks\zebra1.jks' -storepass [PASSWORD] -dname "cn=New Certificate Store" -validity 1 -alias "NewCertStore"
2021-11-19 12:07:52.1144 JavaKeyStoreSSH.RemoteHandlers.WinRMHandler [Debug] - Exception during RunCommand...Enter key password for (RETURN if same as keystore password): Enter key password for (RETURN if same as keystore password):
2021-11-19 12:07:52.1301 g [Debug] - AnyJob execution finished with status 4 and message Site c:\stuff\jks\zebra1.jks on server http://websrvr38.keyexample.com:5985:Enter key password for (RETURN if same as keystore password):
2021-11-19 12:07:52.1301 g [Trace] - Entered UpdateRunStatusAndMessage with current status 1 and message ""
2021-11-19 12:07:52.1301 g [Trace] - JobResult has status 3 and message "Site c:\stuff\jks\zebra1.jks on server http://websrvr38.keyexample.com:5985:Enter key password for (RETURN if same as keystore password):
(80131500)"
2021-11-19 12:07:52.1301 g [Trace] - Leaving UpdateRunStatusAndMessage with current status 3 and message "Error: Site c:\stuff\jks\zebra1.jks on server http://websrvr38.keyexample.com:5985:Enter key password for (RETURN if same as keystore password):
(80131500)"
2021-11-19 12:07:52.1301 g [Trace] - Sending completion for JKS-SSHManagement job id 8ae4d1e1-af99-4681-a587-d59393cbbed3
2021-11-19 12:07:52.1301 g [Trace] - Starting POST
2021-11-19 12:07:52.2081 g [Trace] - POST complete
2021-11-19 12:07:52.2081 g [Trace] - Parsing completion response for JKS-SSHManagement job id 8ae4d1e1-af99-4681-a587-d59393cbbed3
2021-11-19 12:07:52.2081 g [Trace] - Entered UpdateRunStatusAndMessage with current status 3 and message "Error: Site c:\stuff\jks\zebra1.jks on server http://websrvr38.keyexample.com:5985:Enter key password for (RETURN if same as keystore password):
(80131500)"
2021-11-19 12:07:52.2081 g [Trace] - JobResult has status 1 and message ""
2021-11-19 12:07:52.2240 g [Trace] - Leaving UpdateRunStatusAndMessage with current status 3 and message "Error: Site c:\stuff\jks\zebra1.jks on server http://websrvr38.keyexample.com:5985:Enter key password for (RETURN if same as keystore password):
(80131500)"
2021-11-19 12:07:52.2240 g [Debug] - Entered TaskComplete method
2021-11-19 12:07:52.2240 g [Debug] - Checking run status: 3
2021-11-19 12:07:52.2240 g [Debug] - Leaving TaskComplete method
2021-11-19 12:07:52.2240 g [Error] - Error while performing JKS-SSHManagement for job id 8ae4d1e1-af99-4681-a587-d59393cbbed3 audit id 412062: Error: Site c:\stuff\jks\zebra1.jks on server http://websrvr38.keyexample.com:5985:Enter key password for (RETURN if same as keystore password):
(80131500)
The text was updated successfully, but these errors were encountered:
I created a new certificate store through the Keyfactor Command management portal referencing the server on which the Windows orchestrator (v8.5) was running as the target for the store. The create failed with messages seeming to suggest that the password for the store couldn't be accessed. A WinRM trace indicated that the password entered for the store at creation was in fact being passed through at the WinRM level (https://www.dpetzel.info/post/windows/debugging_winrm/).
2021-11-19 12:07:50.8710 JavaKeyStoreSSH.RemoteHandlers.WinRMHandler [Trace] - WinRM Authentication Mechanism: Default
2021-11-19 12:07:51.4646 JavaKeyStoreSSH.RemoteHandlers.WinRMHandler [Debug] - RunCommand: http://websrvr38.keyexample.com:5985
2021-11-19 12:07:51.4646 JavaKeyStoreSSH.RemoteHandlers.WinRMHandler [Debug] - RunCommand: java -version 2>&1
2021-11-19 12:07:51.7264 JavaKeyStoreSSH.RemoteHandlers.WinRMHandler [Debug] - WinRM Results: java -version 2>&1::: java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)
2021-11-19 12:07:51.7264 JavaKeyStoreSSH.Management [Debug] - Begin Create Operation for c:\stuff\jks\zebra1.jks on http://websrvr38.keyexample.com:5985.
2021-11-19 12:07:51.7264 JavaKeyStoreSSH.RemoteHandlers.WinRMHandler [Debug] - RunCommand: http://websrvr38.keyexample.com:5985
2021-11-19 12:07:51.7264 JavaKeyStoreSSH.RemoteHandlers.WinRMHandler [Debug] - RunCommand: echo '' | & 'keytool' -genkeypair -keystore 'c:\stuff\jks\zebra1.jks' -storepass [PASSWORD] -dname "cn=New Certificate Store" -validity 1 -alias "NewCertStore"
2021-11-19 12:07:52.1144 JavaKeyStoreSSH.RemoteHandlers.WinRMHandler [Debug] - Exception during RunCommand...Enter key password for (RETURN if same as keystore password): Enter key password for (RETURN if same as keystore password):
2021-11-19 12:07:52.1301 g [Debug] - AnyJob execution finished with status 4 and message Site c:\stuff\jks\zebra1.jks on server http://websrvr38.keyexample.com:5985:Enter key password for (RETURN if same as keystore password):
2021-11-19 12:07:52.1301 g [Trace] - Entered UpdateRunStatusAndMessage with current status 1 and message ""
2021-11-19 12:07:52.1301 g [Trace] - JobResult has status 3 and message "Site c:\stuff\jks\zebra1.jks on server http://websrvr38.keyexample.com:5985:Enter key password for (RETURN if same as keystore password):
(80131500)"
2021-11-19 12:07:52.1301 g [Trace] - Leaving UpdateRunStatusAndMessage with current status 3 and message "Error: Site c:\stuff\jks\zebra1.jks on server http://websrvr38.keyexample.com:5985:Enter key password for (RETURN if same as keystore password):
(80131500)"
2021-11-19 12:07:52.1301 g [Trace] - Sending completion for JKS-SSHManagement job id 8ae4d1e1-af99-4681-a587-d59393cbbed3
2021-11-19 12:07:52.1301 g [Trace] - Starting POST
2021-11-19 12:07:52.2081 g [Trace] - POST complete
2021-11-19 12:07:52.2081 g [Trace] - Parsing completion response for JKS-SSHManagement job id 8ae4d1e1-af99-4681-a587-d59393cbbed3
2021-11-19 12:07:52.2081 g [Trace] - Entered UpdateRunStatusAndMessage with current status 3 and message "Error: Site c:\stuff\jks\zebra1.jks on server http://websrvr38.keyexample.com:5985:Enter key password for (RETURN if same as keystore password):
(80131500)"
2021-11-19 12:07:52.2081 g [Trace] - JobResult has status 1 and message ""
2021-11-19 12:07:52.2240 g [Trace] - Leaving UpdateRunStatusAndMessage with current status 3 and message "Error: Site c:\stuff\jks\zebra1.jks on server http://websrvr38.keyexample.com:5985:Enter key password for (RETURN if same as keystore password):
(80131500)"
2021-11-19 12:07:52.2240 g [Debug] - Entered TaskComplete method
2021-11-19 12:07:52.2240 g [Debug] - Checking run status: 3
2021-11-19 12:07:52.2240 g [Debug] - Leaving TaskComplete method
2021-11-19 12:07:52.2240 g [Error] - Error while performing JKS-SSHManagement for job id 8ae4d1e1-af99-4681-a587-d59393cbbed3 audit id 412062: Error: Site c:\stuff\jks\zebra1.jks on server http://websrvr38.keyexample.com:5985:Enter key password for (RETURN if same as keystore password):
(80131500)
The text was updated successfully, but these errors were encountered: