-
Notifications
You must be signed in to change notification settings - Fork 166
Update troubleshooting-runners.md #1687
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
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,3 +3,47 @@ | |
| ## Runner Logs | ||
|
|
||
| Runner Logs are located in the `./runner/logs` folder under the folder where the jar was executed from. The `runner.log` file contains operational and important messages about the runner. `operations.log` tracks an operation starts and if it succeeds or fails. [Read more about logging and setting up custom logging](/administration/runner/runner-management/runner-logging.md). | ||
|
|
||
| ## SSL Handshake error on the Runner startup | ||
|
|
||
| ### **Error message** | ||
| ``` | ||
| 08-06-2025 14:23:47.445 [main] ERROR io.micronaut.retry.intercept.RecoveryInterceptor - Type [com.rundeck.sidecar.agent.server.RESClient$Intercepted] executed with error: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target reactor.core.Exceptions$ReactiveException: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target | ||
| ``` | ||
|
|
||
| ### Why does this happen? | ||
|
|
||
| - The RBA-SH cluster is using a certificate that is **not trusted** by the default Java truststore (e.g., self-signed, or signed by a private/internal CA). In other words, the certificate chain can’t be validated using the Java truststore. | ||
|
|
||
| - The Runner (Java process) doesn’t have the CA certificate in its truststore. | ||
|
|
||
| - This is super common with **internal CAs** or **self-signed certs**—admins often add these to the OS trust store, but forget about Java’s. | ||
|
|
||
|
|
||
| ### How to fix it | ||
|
|
||
| 1. Download the certificate chain from your Rundeck cluster | ||
|
|
||
| 2. Transfer this file to your Runner VM | ||
|
|
||
| 3. Import the CA cert into the Java truststore | ||
|
|
||
|
|
||
| The default truststore is usually at: | ||
| `$JAVA_HOME/lib/security/cacerts` | ||
| The default password is `changeit`. | ||
|
|
||
| **Please confirm that** `$JAVA_HOME` **is correctly configured in your VM!** | ||
|
|
||
| Example command: | ||
|
|
||
| ``` | ||
| keytool -import -alias rundeck-ca -file /path/to/ca.crt -keystore $JAVA_HOME/lib/security/cacerts | ||
|
||
| ``` | ||
|
|
||
| - It will prompt for the password (`changeit` by default). | ||
|
|
||
| - Say “yes” to trust the certificate. | ||
|
|
||
|
|
||
| 4. Restart the Runner service. | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
The error message example should use a generic date rather than a specific future date (08-06-2025). Consider using a placeholder like 'YYYY-MM-DD' or a past date to avoid confusion and maintain documentation longevity.