Jenkins Plugins Install Issue
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
I am trying to install the version 2.162 of the open source Jenkins. The Jenkins successfully came up but, when I go to Manage Jenkins-> Manage Plugins, I see following error:
There were errors checking the update sites: SSLHandshakeException:
sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to
find valid certification path to requested target
I know I need to add a certificate but not sure from which website, I can add the certificate from.
Can anyone help please.
Thanks
ssl jenkins
add a comment |
I am trying to install the version 2.162 of the open source Jenkins. The Jenkins successfully came up but, when I go to Manage Jenkins-> Manage Plugins, I see following error:
There were errors checking the update sites: SSLHandshakeException:
sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to
find valid certification path to requested target
I know I need to add a certificate but not sure from which website, I can add the certificate from.
Can anyone help please.
Thanks
ssl jenkins
add a comment |
I am trying to install the version 2.162 of the open source Jenkins. The Jenkins successfully came up but, when I go to Manage Jenkins-> Manage Plugins, I see following error:
There were errors checking the update sites: SSLHandshakeException:
sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to
find valid certification path to requested target
I know I need to add a certificate but not sure from which website, I can add the certificate from.
Can anyone help please.
Thanks
ssl jenkins
I am trying to install the version 2.162 of the open source Jenkins. The Jenkins successfully came up but, when I go to Manage Jenkins-> Manage Plugins, I see following error:
There were errors checking the update sites: SSLHandshakeException:
sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to
find valid certification path to requested target
I know I need to add a certificate but not sure from which website, I can add the certificate from.
Can anyone help please.
Thanks
ssl jenkins
ssl jenkins
asked Jan 31 at 19:39
newdevopsguynewdevopsguy
11
11
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
You need to install your network ssl certificate to your jre cacerts.
NOTE:
- Confirm you are installing certificate to jre which is used by jenkins
- You are installing certificate in cacerts file of JRE only NOT JVM cacerts.
- You are installing root certificate i.e. top most in hierarchy not any of its children.
- if you still get PKIX for other URLs(After solving one url problem) repeat this process of installing root certificate of all of the URLs present in Log with PKIX.
Step 1 : Get certificate.
- Open https://repo.maven.apache.org URL using chrome browser.
- Click on view certificate
- select Top most certificate on chain and drag and drop to desktop.
Step 2 : install certificate to cacerts
you can use any method to get jre path of Jenkins I am using same jre for all of the applications so i am using MVN command to make it very simple. skip step 1 and 2 bellow if you know JRE path or your configuration is different.
- open command prompt or terminal and type command
mvn -version
- Grab path to jre which would be shown to your after typing above command.
- Download this tool.
OR
You may use following command to install certificate
keytool -import -noprompt -trustcacerts -alias <AliasName> -file <certificate> -keystore <KeystoreFile> -storepass <Password>
- select open option in that tool and navigate to that path which you grabbed at point 2. Now you are at jre folder. Open lib folder. Open security folder.(YOURMAVENJDKPATH/jre/lib/security/cacerts)
- Select cacerts file located in that security folder.Now you can see all the certificates in that tool. Tool would ask for password enter "changeit"(without double quote string changeit is the password)
- find out import certificate icon and click on it.
- Select the certificate which you downloaded in step 1.
- Save your changes and close the tool.
Now your problem is resolved.
New contributor
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1400728%2fjenkins-plugins-install-issue%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You need to install your network ssl certificate to your jre cacerts.
NOTE:
- Confirm you are installing certificate to jre which is used by jenkins
- You are installing certificate in cacerts file of JRE only NOT JVM cacerts.
- You are installing root certificate i.e. top most in hierarchy not any of its children.
- if you still get PKIX for other URLs(After solving one url problem) repeat this process of installing root certificate of all of the URLs present in Log with PKIX.
Step 1 : Get certificate.
- Open https://repo.maven.apache.org URL using chrome browser.
- Click on view certificate
- select Top most certificate on chain and drag and drop to desktop.
Step 2 : install certificate to cacerts
you can use any method to get jre path of Jenkins I am using same jre for all of the applications so i am using MVN command to make it very simple. skip step 1 and 2 bellow if you know JRE path or your configuration is different.
- open command prompt or terminal and type command
mvn -version
- Grab path to jre which would be shown to your after typing above command.
- Download this tool.
OR
You may use following command to install certificate
keytool -import -noprompt -trustcacerts -alias <AliasName> -file <certificate> -keystore <KeystoreFile> -storepass <Password>
- select open option in that tool and navigate to that path which you grabbed at point 2. Now you are at jre folder. Open lib folder. Open security folder.(YOURMAVENJDKPATH/jre/lib/security/cacerts)
- Select cacerts file located in that security folder.Now you can see all the certificates in that tool. Tool would ask for password enter "changeit"(without double quote string changeit is the password)
- find out import certificate icon and click on it.
- Select the certificate which you downloaded in step 1.
- Save your changes and close the tool.
Now your problem is resolved.
New contributor
add a comment |
You need to install your network ssl certificate to your jre cacerts.
NOTE:
- Confirm you are installing certificate to jre which is used by jenkins
- You are installing certificate in cacerts file of JRE only NOT JVM cacerts.
- You are installing root certificate i.e. top most in hierarchy not any of its children.
- if you still get PKIX for other URLs(After solving one url problem) repeat this process of installing root certificate of all of the URLs present in Log with PKIX.
Step 1 : Get certificate.
- Open https://repo.maven.apache.org URL using chrome browser.
- Click on view certificate
- select Top most certificate on chain and drag and drop to desktop.
Step 2 : install certificate to cacerts
you can use any method to get jre path of Jenkins I am using same jre for all of the applications so i am using MVN command to make it very simple. skip step 1 and 2 bellow if you know JRE path or your configuration is different.
- open command prompt or terminal and type command
mvn -version
- Grab path to jre which would be shown to your after typing above command.
- Download this tool.
OR
You may use following command to install certificate
keytool -import -noprompt -trustcacerts -alias <AliasName> -file <certificate> -keystore <KeystoreFile> -storepass <Password>
- select open option in that tool and navigate to that path which you grabbed at point 2. Now you are at jre folder. Open lib folder. Open security folder.(YOURMAVENJDKPATH/jre/lib/security/cacerts)
- Select cacerts file located in that security folder.Now you can see all the certificates in that tool. Tool would ask for password enter "changeit"(without double quote string changeit is the password)
- find out import certificate icon and click on it.
- Select the certificate which you downloaded in step 1.
- Save your changes and close the tool.
Now your problem is resolved.
New contributor
add a comment |
You need to install your network ssl certificate to your jre cacerts.
NOTE:
- Confirm you are installing certificate to jre which is used by jenkins
- You are installing certificate in cacerts file of JRE only NOT JVM cacerts.
- You are installing root certificate i.e. top most in hierarchy not any of its children.
- if you still get PKIX for other URLs(After solving one url problem) repeat this process of installing root certificate of all of the URLs present in Log with PKIX.
Step 1 : Get certificate.
- Open https://repo.maven.apache.org URL using chrome browser.
- Click on view certificate
- select Top most certificate on chain and drag and drop to desktop.
Step 2 : install certificate to cacerts
you can use any method to get jre path of Jenkins I am using same jre for all of the applications so i am using MVN command to make it very simple. skip step 1 and 2 bellow if you know JRE path or your configuration is different.
- open command prompt or terminal and type command
mvn -version
- Grab path to jre which would be shown to your after typing above command.
- Download this tool.
OR
You may use following command to install certificate
keytool -import -noprompt -trustcacerts -alias <AliasName> -file <certificate> -keystore <KeystoreFile> -storepass <Password>
- select open option in that tool and navigate to that path which you grabbed at point 2. Now you are at jre folder. Open lib folder. Open security folder.(YOURMAVENJDKPATH/jre/lib/security/cacerts)
- Select cacerts file located in that security folder.Now you can see all the certificates in that tool. Tool would ask for password enter "changeit"(without double quote string changeit is the password)
- find out import certificate icon and click on it.
- Select the certificate which you downloaded in step 1.
- Save your changes and close the tool.
Now your problem is resolved.
New contributor
You need to install your network ssl certificate to your jre cacerts.
NOTE:
- Confirm you are installing certificate to jre which is used by jenkins
- You are installing certificate in cacerts file of JRE only NOT JVM cacerts.
- You are installing root certificate i.e. top most in hierarchy not any of its children.
- if you still get PKIX for other URLs(After solving one url problem) repeat this process of installing root certificate of all of the URLs present in Log with PKIX.
Step 1 : Get certificate.
- Open https://repo.maven.apache.org URL using chrome browser.
- Click on view certificate
- select Top most certificate on chain and drag and drop to desktop.
Step 2 : install certificate to cacerts
you can use any method to get jre path of Jenkins I am using same jre for all of the applications so i am using MVN command to make it very simple. skip step 1 and 2 bellow if you know JRE path or your configuration is different.
- open command prompt or terminal and type command
mvn -version
- Grab path to jre which would be shown to your after typing above command.
- Download this tool.
OR
You may use following command to install certificate
keytool -import -noprompt -trustcacerts -alias <AliasName> -file <certificate> -keystore <KeystoreFile> -storepass <Password>
- select open option in that tool and navigate to that path which you grabbed at point 2. Now you are at jre folder. Open lib folder. Open security folder.(YOURMAVENJDKPATH/jre/lib/security/cacerts)
- Select cacerts file located in that security folder.Now you can see all the certificates in that tool. Tool would ask for password enter "changeit"(without double quote string changeit is the password)
- find out import certificate icon and click on it.
- Select the certificate which you downloaded in step 1.
- Save your changes and close the tool.
Now your problem is resolved.
New contributor
New contributor
answered 2 days ago
positivecruxpositivecrux
1011
1011
New contributor
New contributor
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1400728%2fjenkins-plugins-install-issue%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown