# Raco pkg install error: certificate verify failed

**URL:** https://racket.discourse.group/t/raco-pkg-install-error-certificate-verify-failed/2717
**Category:** Questions & Answers
**Created:** [February 12, 2024, 4:16pm UTC](https://racket.discourse.group/t/raco-pkg-install-error-certificate-verify-failed/2717 "2024-02-12T16:16:23Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Axel](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/axel/32/595_2.png) [@Axel](https://racket.discourse.group/u/Axel)
#### Post date: [February 12, 2024, 4:16pm UTC](https://racket.discourse.group/t/raco-pkg-install-error-certificate-verify-failed/2717/1 "2024-02-12T16:16:23Z")

</div>

Hello, thank for the new version of Racket. I just managed to compile  
this new version and encountered a problem as I tried to install some  
packages via the package manager in drracket but that attempt failed.  
Than I tried to solve the problem by using raco manually in the  
commandline. The result was the same. The installation of the package  
failed:

axel@axels-tux2:~/racket-8.12/bin$ ./raco pkg install scribble-math  
Resolving "scribble-math" via [https://pkgs.racket-lang.org](https://pkgs.racket-lang.org)  
ssl-connect: connect failed (error:1416F086:SSL  
routines:tls\_process\_server\_certificate:certificate verify failed)

Than I tried this with racket-8.11 and racket-8.9 with the same result.  
Even an upgrade of the catalog was impossible due to the inability of  
the racket-installation to verify the tls\_process\_server\_certificate. I  
am not a professional programmer but an enthusiastic user who happens to  
like this variant of scheme but none the less I need a working  
racket-installation so I need some help to fix this problem.

Thanks in advance for any helpful advice.

PS: I am working with Kubuntu - 20.04

---

<div class="post-metadata">

### Author: ![spdegabrielle](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/spdegabrielle/32/95_2.png) [@spdegabrielle](https://racket.discourse.group/u/spdegabrielle)
#### Post date: [February 12, 2024, 5:22pm UTC](https://racket.discourse.group/t/raco-pkg-install-error-certificate-verify-failed/2717/2 "2024-02-12T17:22:10Z")

</div>

Hi @Axel

Can you confirm you can get to [https://pkgs.racket-lang.org/](https://pkgs.racket-lang.org/) in the browser

Does it give any certificate errors?

Stephen

---

<div class="post-metadata">

### Author: ![Axel](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/axel/32/595_2.png) [@Axel](https://racket.discourse.group/u/Axel)
#### Post date: [February 12, 2024, 8:07pm UTC](https://racket.discourse.group/t/raco-pkg-install-error-certificate-verify-failed/2717/3 "2024-02-12T20:07:26Z")

</div>

Hi @Stephen,

Thank you for your answer. I have no problems getting to the packages  
website [https://pkgs.racket-lang.org/](https://pkgs.racket-lang.org/). Everything's fine with the  
certificate.

---

<div class="post-metadata">

### Author: ![samth](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/samth/32/3_2.png) [@samth](https://racket.discourse.group/u/samth)
#### Post date: [February 12, 2024, 8:26pm UTC](https://racket.discourse.group/t/raco-pkg-install-error-certificate-verify-failed/2717/4 "2024-02-12T20:26:45Z")

</div>

Generally this problem happens because you have an out-of-data set of root certificates on your system. Probably there are relevant updates for this.

---

<div class="post-metadata">

### Author: ![Axel](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/axel/32/595_2.png) [@Axel](https://racket.discourse.group/u/Axel)
#### Post date: [February 12, 2024, 10:15pm UTC](https://racket.discourse.group/t/raco-pkg-install-error-certificate-verify-failed/2717/5 "2024-02-12T22:15:22Z")

</div>

How can I update the data set of root certificates? Meanwhile I discovered this problem with all my Racket-Installations on my laptop (I have installed racket 8.9, 8.11 and now 8.12). They all are home built and installed with prefix $HOME/racket-8.XX. Until now this problem only exists with racket-lang. I don't work with superuser rights because I am not so good in system administration. I hope there is no need for me install a complete new operating system on my laptop.  
Thank you for your help so far.

---

<div class="post-metadata">

### Author: ![soegaard](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/soegaard/32/19_2.png) [@soegaard](https://racket.discourse.group/u/soegaard)
#### Post date: [February 12, 2024, 10:52pm UTC](https://racket.discourse.group/t/raco-pkg-install-error-certificate-verify-failed/2717/6 "2024-02-12T22:52:16Z")

</div>

> [@Axel](#):
>
> sl-connect: connect failed (error:1416F086:SSL  
> routines:tls\_process\_server\_certificate:certificate verify failed

I think, you can update the certificates with `update-ca-certificates` but  
look around for info first.

[https://www.cyberciti.biz/faq/update-ca-certificates-command-examples-in-linux-to-ssl-ca-certificates/](https://www.cyberciti.biz/faq/update-ca-certificates-command-examples-in-linux-to-ssl-ca-certificates/)

---

<div class="post-metadata">

### Author: ![spdegabrielle](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/spdegabrielle/32/95_2.png) [@spdegabrielle](https://racket.discourse.group/u/spdegabrielle)
#### Post date: [February 12, 2024, 10:56pm UTC](https://racket.discourse.group/t/raco-pkg-install-error-certificate-verify-failed/2717/7 "2024-02-12T22:56:35Z")

</div>

Hi @Axel

The Kubuntu community forum [Community | Kubuntu](https://kubuntu.org/community/) should be able to help with updating certificates on Kubuntu 20.04

I did find the following page - but I am no expert so it is probably better to ask the community familiar with Kubuntu 20.04

 ![image](https://global.discourse-cdn.com/free1/uploads/racket/original/2X/0/08f7f6e7546a077e4c8bfe93058fd4f37c00f798.jpeg)

at [Release Kubuntu Manual 20.04 LTS · kubuntu-team/kubuntu-manual · GitHub](https://github.com/kubuntu-team/kubuntu-manual/releases/tag/v1.0.0)  
via [Help and Support | Kubuntu](https://kubuntu.org/support/)

---

<div class="post-metadata">

### Author: ![Axel](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/axel/32/595_2.png) [@Axel](https://racket.discourse.group/u/Axel)
#### Post date: [February 14, 2024, 10:08pm UTC](https://racket.discourse.group/t/raco-pkg-install-error-certificate-verify-failed/2717/8 "2024-02-14T22:08:20Z")

</div>

Hi @Jens Axel Søgaard,hi @Stephen De Gabrielle!

Thanks for your thoughts concerning my little problem with racket's ssl  
certificate verifications. Through your hints I got a clue where to  
search for the reason. I found it and was than able to solve the problem.

Racket now runs with all versions including 8.12! And so far I am quite  
happy with 8.12.
