Set company certificate as Trusted
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
1
down vote
favorite
My company gave me a file company_CA.crt
that I need to use to access one of our customers website.
When I tried to add it on macOS, all I had to do was to click on the file, and then after imported, set it as "Always Trust".
I would like to do the same in Ubuntu, so I followed the next steps:
- Copied the CRT file to
usr/local/share/ca-certificates/my_company
- Run
sudo update-ca-certificates
But I cannot still open the website. Did I miss a step?
ssl certificates
add a comment |Â
up vote
1
down vote
favorite
My company gave me a file company_CA.crt
that I need to use to access one of our customers website.
When I tried to add it on macOS, all I had to do was to click on the file, and then after imported, set it as "Always Trust".
I would like to do the same in Ubuntu, so I followed the next steps:
- Copied the CRT file to
usr/local/share/ca-certificates/my_company
- Run
sudo update-ca-certificates
But I cannot still open the website. Did I miss a step?
ssl certificates
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
My company gave me a file company_CA.crt
that I need to use to access one of our customers website.
When I tried to add it on macOS, all I had to do was to click on the file, and then after imported, set it as "Always Trust".
I would like to do the same in Ubuntu, so I followed the next steps:
- Copied the CRT file to
usr/local/share/ca-certificates/my_company
- Run
sudo update-ca-certificates
But I cannot still open the website. Did I miss a step?
ssl certificates
My company gave me a file company_CA.crt
that I need to use to access one of our customers website.
When I tried to add it on macOS, all I had to do was to click on the file, and then after imported, set it as "Always Trust".
I would like to do the same in Ubuntu, so I followed the next steps:
- Copied the CRT file to
usr/local/share/ca-certificates/my_company
- Run
sudo update-ca-certificates
But I cannot still open the website. Did I miss a step?
ssl certificates
ssl certificates
asked Apr 12 at 8:49
![](https://i.stack.imgur.com/DXigI.jpg?s=32&g=1)
![](https://i.stack.imgur.com/DXigI.jpg?s=32&g=1)
Enrique Moreno Tent
1,08841740
1,08841740
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
Check if the CA root certificate for your customer_web_site is known or not in your system.
$ curl -I https://customer_web_site
curl: (77) Problem with the SSL CA cert (path? access rights?)
The CA certificate for customer_web_site server is (indeed) NOT known in the system.
File company_CA.crt must be in CRT format. (seems to be in this case)
If it is in PEM format, then you have to conver it (openssl x509 -in xxxx.pem -inform PEM -out xxxx.crt
- Install the CA file in Ubuntu
Copy the company_CA.crt file to new directory extra in /usr/share/ca-certificates
Let ubuntu pick-up that new CA certificate and install it in the Linux system
sudo dpkg-reconfigure ca-certificates
A menu will appear. Check option "ask" for Prompt for each new CA certificate. You will see your new certificate.
extra/company_CA.crt
Press space, to select that new CA certificate file and select OK.
uAt the end, you should see something like this:
1 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
Check if curl works without specifying the CA certificate file
$ curl -I https://customer_web_site
HTTP/1.1 200 OK
Date: Thu, 06 Sep 2018 18:08:26 GMT
Server: Apache/2.4.18 (Ubuntu)
Last-Modified: Fri, 27 Jul 2018 12:09:02 GMT
ETag: "2c39-571f9fa3671da"
Accept-Ranges: bytes
Content-Length: 11321
Vary: Accept-Encoding
Content-Type: text/html
It works.
If you want to know more about Self Signed Certificates and how to use them, then check my github.
1
Welcome to Ask Ubuntu! ;-) Could you please add a little more detail? What exactly does the OP have to do? How? Do you have any additional Tips or Tricks? Please edit your post to add information before the system deletes this because of low quality... :-(
â Fabby
Sep 5 at 15:46
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Check if the CA root certificate for your customer_web_site is known or not in your system.
$ curl -I https://customer_web_site
curl: (77) Problem with the SSL CA cert (path? access rights?)
The CA certificate for customer_web_site server is (indeed) NOT known in the system.
File company_CA.crt must be in CRT format. (seems to be in this case)
If it is in PEM format, then you have to conver it (openssl x509 -in xxxx.pem -inform PEM -out xxxx.crt
- Install the CA file in Ubuntu
Copy the company_CA.crt file to new directory extra in /usr/share/ca-certificates
Let ubuntu pick-up that new CA certificate and install it in the Linux system
sudo dpkg-reconfigure ca-certificates
A menu will appear. Check option "ask" for Prompt for each new CA certificate. You will see your new certificate.
extra/company_CA.crt
Press space, to select that new CA certificate file and select OK.
uAt the end, you should see something like this:
1 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
Check if curl works without specifying the CA certificate file
$ curl -I https://customer_web_site
HTTP/1.1 200 OK
Date: Thu, 06 Sep 2018 18:08:26 GMT
Server: Apache/2.4.18 (Ubuntu)
Last-Modified: Fri, 27 Jul 2018 12:09:02 GMT
ETag: "2c39-571f9fa3671da"
Accept-Ranges: bytes
Content-Length: 11321
Vary: Accept-Encoding
Content-Type: text/html
It works.
If you want to know more about Self Signed Certificates and how to use them, then check my github.
1
Welcome to Ask Ubuntu! ;-) Could you please add a little more detail? What exactly does the OP have to do? How? Do you have any additional Tips or Tricks? Please edit your post to add information before the system deletes this because of low quality... :-(
â Fabby
Sep 5 at 15:46
add a comment |Â
up vote
0
down vote
Check if the CA root certificate for your customer_web_site is known or not in your system.
$ curl -I https://customer_web_site
curl: (77) Problem with the SSL CA cert (path? access rights?)
The CA certificate for customer_web_site server is (indeed) NOT known in the system.
File company_CA.crt must be in CRT format. (seems to be in this case)
If it is in PEM format, then you have to conver it (openssl x509 -in xxxx.pem -inform PEM -out xxxx.crt
- Install the CA file in Ubuntu
Copy the company_CA.crt file to new directory extra in /usr/share/ca-certificates
Let ubuntu pick-up that new CA certificate and install it in the Linux system
sudo dpkg-reconfigure ca-certificates
A menu will appear. Check option "ask" for Prompt for each new CA certificate. You will see your new certificate.
extra/company_CA.crt
Press space, to select that new CA certificate file and select OK.
uAt the end, you should see something like this:
1 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
Check if curl works without specifying the CA certificate file
$ curl -I https://customer_web_site
HTTP/1.1 200 OK
Date: Thu, 06 Sep 2018 18:08:26 GMT
Server: Apache/2.4.18 (Ubuntu)
Last-Modified: Fri, 27 Jul 2018 12:09:02 GMT
ETag: "2c39-571f9fa3671da"
Accept-Ranges: bytes
Content-Length: 11321
Vary: Accept-Encoding
Content-Type: text/html
It works.
If you want to know more about Self Signed Certificates and how to use them, then check my github.
1
Welcome to Ask Ubuntu! ;-) Could you please add a little more detail? What exactly does the OP have to do? How? Do you have any additional Tips or Tricks? Please edit your post to add information before the system deletes this because of low quality... :-(
â Fabby
Sep 5 at 15:46
add a comment |Â
up vote
0
down vote
up vote
0
down vote
Check if the CA root certificate for your customer_web_site is known or not in your system.
$ curl -I https://customer_web_site
curl: (77) Problem with the SSL CA cert (path? access rights?)
The CA certificate for customer_web_site server is (indeed) NOT known in the system.
File company_CA.crt must be in CRT format. (seems to be in this case)
If it is in PEM format, then you have to conver it (openssl x509 -in xxxx.pem -inform PEM -out xxxx.crt
- Install the CA file in Ubuntu
Copy the company_CA.crt file to new directory extra in /usr/share/ca-certificates
Let ubuntu pick-up that new CA certificate and install it in the Linux system
sudo dpkg-reconfigure ca-certificates
A menu will appear. Check option "ask" for Prompt for each new CA certificate. You will see your new certificate.
extra/company_CA.crt
Press space, to select that new CA certificate file and select OK.
uAt the end, you should see something like this:
1 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
Check if curl works without specifying the CA certificate file
$ curl -I https://customer_web_site
HTTP/1.1 200 OK
Date: Thu, 06 Sep 2018 18:08:26 GMT
Server: Apache/2.4.18 (Ubuntu)
Last-Modified: Fri, 27 Jul 2018 12:09:02 GMT
ETag: "2c39-571f9fa3671da"
Accept-Ranges: bytes
Content-Length: 11321
Vary: Accept-Encoding
Content-Type: text/html
It works.
If you want to know more about Self Signed Certificates and how to use them, then check my github.
Check if the CA root certificate for your customer_web_site is known or not in your system.
$ curl -I https://customer_web_site
curl: (77) Problem with the SSL CA cert (path? access rights?)
The CA certificate for customer_web_site server is (indeed) NOT known in the system.
File company_CA.crt must be in CRT format. (seems to be in this case)
If it is in PEM format, then you have to conver it (openssl x509 -in xxxx.pem -inform PEM -out xxxx.crt
- Install the CA file in Ubuntu
Copy the company_CA.crt file to new directory extra in /usr/share/ca-certificates
Let ubuntu pick-up that new CA certificate and install it in the Linux system
sudo dpkg-reconfigure ca-certificates
A menu will appear. Check option "ask" for Prompt for each new CA certificate. You will see your new certificate.
extra/company_CA.crt
Press space, to select that new CA certificate file and select OK.
uAt the end, you should see something like this:
1 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
Check if curl works without specifying the CA certificate file
$ curl -I https://customer_web_site
HTTP/1.1 200 OK
Date: Thu, 06 Sep 2018 18:08:26 GMT
Server: Apache/2.4.18 (Ubuntu)
Last-Modified: Fri, 27 Jul 2018 12:09:02 GMT
ETag: "2c39-571f9fa3671da"
Accept-Ranges: bytes
Content-Length: 11321
Vary: Accept-Encoding
Content-Type: text/html
It works.
If you want to know more about Self Signed Certificates and how to use them, then check my github.
edited Sep 6 at 18:30
answered Sep 5 at 15:03
Rob Lassche
1112
1112
1
Welcome to Ask Ubuntu! ;-) Could you please add a little more detail? What exactly does the OP have to do? How? Do you have any additional Tips or Tricks? Please edit your post to add information before the system deletes this because of low quality... :-(
â Fabby
Sep 5 at 15:46
add a comment |Â
1
Welcome to Ask Ubuntu! ;-) Could you please add a little more detail? What exactly does the OP have to do? How? Do you have any additional Tips or Tricks? Please edit your post to add information before the system deletes this because of low quality... :-(
â Fabby
Sep 5 at 15:46
1
1
Welcome to Ask Ubuntu! ;-) Could you please add a little more detail? What exactly does the OP have to do? How? Do you have any additional Tips or Tricks? Please edit your post to add information before the system deletes this because of low quality... :-(
â Fabby
Sep 5 at 15:46
Welcome to Ask Ubuntu! ;-) Could you please add a little more detail? What exactly does the OP have to do? How? Do you have any additional Tips or Tricks? Please edit your post to add information before the system deletes this because of low quality... :-(
â Fabby
Sep 5 at 15:46
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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%2faskubuntu.com%2fquestions%2f1024300%2fset-company-certificate-as-trusted%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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