export RDECK_JVM="$RDECK_JVM $RDECK_SSL_OPTS"
--
You received this message because you are subscribed to the Google Groups "rundeck-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rundeck-discu...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Hi Andy,There are two different goals when configuring Rundeck for "SSL".The first, as described at this page: http://rundeck.org/docs/administration/configuring-ssl.html is for configuring the Rundeck *server* to use expose SSL, and allow the Rundeck CLI tools to communicate to the server over SSL.The second goal is to configure Rundeck to allow it to communicate to *other servers* using the appropriate SSL certificates.You want to do the latter.The difference is that you will need to make sure the /etc/rundeck/profile sets the appropriate JVM options to define the keystore/truststore location for the server. There is a set of "RDECK_SSL_OPTS" defined in /etc/rundeck/profile, but they are not added to the RDECK_JVM value by default.After the line "export RDECK_SSL_OPTS=..." you should add:export RDECK_JVM="$RDECK_JVM $RDECK_SSL_OPTS"
Then you would need to *restart* Rundeck server, so that it executes with those JVM options.That configuring-ssl page needs to be updated to address that second goal.We also conflate the JVM options used by the CLI tools, and the Rundeck server within the /etc/rundeck/profile, unfortunately. That needs a bit of cleanup which hasn't happened yet.--
Greg SchuelerOn February 24, 2014 at 8:21:17 AM, Andy Bohne (andy....@gmail.com) wrote:
I am trying to configure Rundeck to use a URL to retrieve a list of nodes from Foreman, which is running on my puppet master.I've got the SSL certificate from Foreman imported into /etc/rundeck/ssl/keystore and /etc/rundeck/ssl/truststore (both are actually identical). I've got the resource URL configured as follows:
However, when I go to the nodes tab, I don't see the expected nodes.In rundeck.log I see the following:
2014-02-24 10:52:49,355 [qtp1573703228-58] ERROR com.dtolabs.rundeck.core.resources.ExceptionCatchingResourceModelSource - [ResourceModelSource: 2.url (URL Source), project: admin]
com.dtolabs.rundeck.core.resources.ResourceModelSourceException: Error requesting URL Resource Model Source: https://rundeck:rundeck@puppet01.company.com/hosts?rundeck=true&format=yaml: com.dtolabs.rundeck.core.common.FileUpdaterException: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
On February 26, 2014 at 11:51:00 AM, Andy Bohne (andy....@gmail.com) wrote:
Any idea why enabling a truststore would cause my LDAPS connection to break?If I go back and comment out the export RDECK_JVM="$RDECK_JVM $RDECK_SSL_OPTS" line in /etc/rundeck/profile, LDAPS starts working correctly again.