mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-15 21:12:15 +00:00
[JENKINS-41987] Improved message.
(cherry picked from commit dbf5efa6ae)
This commit is contained in:
1 parent
7e9015d3ea
commit
e2a8c0efd1
1 file changed
+2
-2
@@ -102,11 +102,11 @@ public class JnlpSlaveAgentProtocol4 extends AgentProtocol {
|
||||
// prepare our local identity and certificate
|
||||
X509Certificate identityCertificate = InstanceIdentityProvider.RSA.getCertificate();
|
||||
if (identityCertificate == null) {
|
||||
throw new KeyStoreException("no X509Certificate found; perhaps instance-identity is missing or too old");
|
||||
throw new KeyStoreException("JENKINS-41987: no X509Certificate found; perhaps instance-identity module is missing or too old");
|
||||
}
|
||||
RSAPrivateKey privateKey = InstanceIdentityProvider.RSA.getPrivateKey();
|
||||
if (privateKey == null) {
|
||||
throw new KeyStoreException("no RSAPrivateKey found; perhaps instance-identity is missing or too old");
|
||||
throw new KeyStoreException("JENKINS-41987: no RSAPrivateKey found; perhaps instance-identity module is missing or too old");
|
||||
}
|
||||
|
||||
// prepare our keyStore so we can provide our authentication
|
||||
|
||||
Reference in new issue
Block a user