jenkins behind nginx in kubernetes
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I have a jenkins server behind a Kubernetes (AWS ELB - NGINX proxy ). When I try to trigger a remote job using curl
it fails:
# curl -X POST -H "$CRUMB" "https://jenkins:add91b3fefefefefef@jenkins.subdomain.domain.io/job/Excercise1/buildWithParameters?token=8buX7dddskddf&EMAIL=sfff@test.com&USER=muj"
curl: (60) server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
More details here: http://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.
curl jenkins kubernetes
add a comment |Â
up vote
0
down vote
favorite
I have a jenkins server behind a Kubernetes (AWS ELB - NGINX proxy ). When I try to trigger a remote job using curl
it fails:
# curl -X POST -H "$CRUMB" "https://jenkins:add91b3fefefefefef@jenkins.subdomain.domain.io/job/Excercise1/buildWithParameters?token=8buX7dddskddf&EMAIL=sfff@test.com&USER=muj"
curl: (60) server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
More details here: http://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.
curl jenkins kubernetes
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have a jenkins server behind a Kubernetes (AWS ELB - NGINX proxy ). When I try to trigger a remote job using curl
it fails:
# curl -X POST -H "$CRUMB" "https://jenkins:add91b3fefefefefef@jenkins.subdomain.domain.io/job/Excercise1/buildWithParameters?token=8buX7dddskddf&EMAIL=sfff@test.com&USER=muj"
curl: (60) server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
More details here: http://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.
curl jenkins kubernetes
I have a jenkins server behind a Kubernetes (AWS ELB - NGINX proxy ). When I try to trigger a remote job using curl
it fails:
# curl -X POST -H "$CRUMB" "https://jenkins:add91b3fefefefefef@jenkins.subdomain.domain.io/job/Excercise1/buildWithParameters?token=8buX7dddskddf&EMAIL=sfff@test.com&USER=muj"
curl: (60) server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
More details here: http://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.
curl jenkins kubernetes
edited Jun 21 at 6:58
Kusalananda
101k13199312
101k13199312
asked Jun 21 at 6:56
Mohd
146114
146114
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
This seems like SSL certificate issue, Try using -k
option with curl
to skip ssl verification
# curl -X POST -k -H "$CRUMB" "https://jenkins:add91b3fefefefefef@jenkins.subdomain.domain.io/job/Excercise1/buildWithParameters?token=8buX7dddskddf&EMAIL=sfff@test.com&USER=muj"
im getting this now <html> <head><title>308 Permanent Redirect</title></head> <body bgcolor="white"> <center><h1>308 Permanent Redirect</h1></center> <hr><center>nginx/1.13.12</center> </body> </html>
â Mohd
Jun 21 at 7:09
The HyperText Transfer Protocol (HTTP)308 Permanent Redirect
redirect status response code indicates that the resource requested has been definitively moved to the URL given by the Location headers. Try using-ivvv
to print Headers as well and found out where the resource have been now moved to
â Arushix
Jun 21 at 7:13
its not giving any thing specific,, see basically my jenknis is running in a kubernetes pod behind AWS ELB and Nginx Proxy,, although i can access jenknis thru its url globally,,only triggering job is not happening!
â Mohd
Jun 21 at 7:23
resolved it with -L option
â Mohd
Jun 21 at 10:30
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
This seems like SSL certificate issue, Try using -k
option with curl
to skip ssl verification
# curl -X POST -k -H "$CRUMB" "https://jenkins:add91b3fefefefefef@jenkins.subdomain.domain.io/job/Excercise1/buildWithParameters?token=8buX7dddskddf&EMAIL=sfff@test.com&USER=muj"
im getting this now <html> <head><title>308 Permanent Redirect</title></head> <body bgcolor="white"> <center><h1>308 Permanent Redirect</h1></center> <hr><center>nginx/1.13.12</center> </body> </html>
â Mohd
Jun 21 at 7:09
The HyperText Transfer Protocol (HTTP)308 Permanent Redirect
redirect status response code indicates that the resource requested has been definitively moved to the URL given by the Location headers. Try using-ivvv
to print Headers as well and found out where the resource have been now moved to
â Arushix
Jun 21 at 7:13
its not giving any thing specific,, see basically my jenknis is running in a kubernetes pod behind AWS ELB and Nginx Proxy,, although i can access jenknis thru its url globally,,only triggering job is not happening!
â Mohd
Jun 21 at 7:23
resolved it with -L option
â Mohd
Jun 21 at 10:30
add a comment |Â
up vote
1
down vote
This seems like SSL certificate issue, Try using -k
option with curl
to skip ssl verification
# curl -X POST -k -H "$CRUMB" "https://jenkins:add91b3fefefefefef@jenkins.subdomain.domain.io/job/Excercise1/buildWithParameters?token=8buX7dddskddf&EMAIL=sfff@test.com&USER=muj"
im getting this now <html> <head><title>308 Permanent Redirect</title></head> <body bgcolor="white"> <center><h1>308 Permanent Redirect</h1></center> <hr><center>nginx/1.13.12</center> </body> </html>
â Mohd
Jun 21 at 7:09
The HyperText Transfer Protocol (HTTP)308 Permanent Redirect
redirect status response code indicates that the resource requested has been definitively moved to the URL given by the Location headers. Try using-ivvv
to print Headers as well and found out where the resource have been now moved to
â Arushix
Jun 21 at 7:13
its not giving any thing specific,, see basically my jenknis is running in a kubernetes pod behind AWS ELB and Nginx Proxy,, although i can access jenknis thru its url globally,,only triggering job is not happening!
â Mohd
Jun 21 at 7:23
resolved it with -L option
â Mohd
Jun 21 at 10:30
add a comment |Â
up vote
1
down vote
up vote
1
down vote
This seems like SSL certificate issue, Try using -k
option with curl
to skip ssl verification
# curl -X POST -k -H "$CRUMB" "https://jenkins:add91b3fefefefefef@jenkins.subdomain.domain.io/job/Excercise1/buildWithParameters?token=8buX7dddskddf&EMAIL=sfff@test.com&USER=muj"
This seems like SSL certificate issue, Try using -k
option with curl
to skip ssl verification
# curl -X POST -k -H "$CRUMB" "https://jenkins:add91b3fefefefefef@jenkins.subdomain.domain.io/job/Excercise1/buildWithParameters?token=8buX7dddskddf&EMAIL=sfff@test.com&USER=muj"
answered Jun 21 at 7:04
Arushix
9968
9968
im getting this now <html> <head><title>308 Permanent Redirect</title></head> <body bgcolor="white"> <center><h1>308 Permanent Redirect</h1></center> <hr><center>nginx/1.13.12</center> </body> </html>
â Mohd
Jun 21 at 7:09
The HyperText Transfer Protocol (HTTP)308 Permanent Redirect
redirect status response code indicates that the resource requested has been definitively moved to the URL given by the Location headers. Try using-ivvv
to print Headers as well and found out where the resource have been now moved to
â Arushix
Jun 21 at 7:13
its not giving any thing specific,, see basically my jenknis is running in a kubernetes pod behind AWS ELB and Nginx Proxy,, although i can access jenknis thru its url globally,,only triggering job is not happening!
â Mohd
Jun 21 at 7:23
resolved it with -L option
â Mohd
Jun 21 at 10:30
add a comment |Â
im getting this now <html> <head><title>308 Permanent Redirect</title></head> <body bgcolor="white"> <center><h1>308 Permanent Redirect</h1></center> <hr><center>nginx/1.13.12</center> </body> </html>
â Mohd
Jun 21 at 7:09
The HyperText Transfer Protocol (HTTP)308 Permanent Redirect
redirect status response code indicates that the resource requested has been definitively moved to the URL given by the Location headers. Try using-ivvv
to print Headers as well and found out where the resource have been now moved to
â Arushix
Jun 21 at 7:13
its not giving any thing specific,, see basically my jenknis is running in a kubernetes pod behind AWS ELB and Nginx Proxy,, although i can access jenknis thru its url globally,,only triggering job is not happening!
â Mohd
Jun 21 at 7:23
resolved it with -L option
â Mohd
Jun 21 at 10:30
im getting this now <html> <head><title>308 Permanent Redirect</title></head> <body bgcolor="white"> <center><h1>308 Permanent Redirect</h1></center> <hr><center>nginx/1.13.12</center> </body> </html>
â Mohd
Jun 21 at 7:09
im getting this now <html> <head><title>308 Permanent Redirect</title></head> <body bgcolor="white"> <center><h1>308 Permanent Redirect</h1></center> <hr><center>nginx/1.13.12</center> </body> </html>
â Mohd
Jun 21 at 7:09
The HyperText Transfer Protocol (HTTP)
308 Permanent Redirect
redirect status response code indicates that the resource requested has been definitively moved to the URL given by the Location headers. Try using -ivvv
to print Headers as well and found out where the resource have been now moved toâ Arushix
Jun 21 at 7:13
The HyperText Transfer Protocol (HTTP)
308 Permanent Redirect
redirect status response code indicates that the resource requested has been definitively moved to the URL given by the Location headers. Try using -ivvv
to print Headers as well and found out where the resource have been now moved toâ Arushix
Jun 21 at 7:13
its not giving any thing specific,, see basically my jenknis is running in a kubernetes pod behind AWS ELB and Nginx Proxy,, although i can access jenknis thru its url globally,,only triggering job is not happening!
â Mohd
Jun 21 at 7:23
its not giving any thing specific,, see basically my jenknis is running in a kubernetes pod behind AWS ELB and Nginx Proxy,, although i can access jenknis thru its url globally,,only triggering job is not happening!
â Mohd
Jun 21 at 7:23
resolved it with -L option
â Mohd
Jun 21 at 10:30
resolved it with -L option
â Mohd
Jun 21 at 10:30
add a comment |Â
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f451030%2fjenkins-behind-nginx-in-kubernetes%23new-answer', 'question_page');
);
Post as a guest
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
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
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