Pagina 1 di 1

[RISOLTO][slackware-current] curl e problemi con https

Inviato: lun 12 ott 2020, 16:19
da ilmich
Ciao a tutti,

ho appena installato una current ex novo per provarla (e dalla quale vi scrivo).
L'installazione è full (a parte xfce/kde).
Ho avuto problemi con sbopkg (non scarica la gpg key) e piu' in generale con curl perchè ricevo questo messaggio

Codice: Seleziona tutto

bash-5.0# curl -v https://slackbuilds.org/GPG-KEY
*   Trying 66.85.79.67:443...
* Connected to slackbuilds.org (66.85.79.67) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: none
  CApath: /etc/ssl/certs
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (OUT), TLS alert, unknown CA (560):
* SSL certificate problem: unable to get local issuer certificate
* Closing connection 0
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.haxx.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
e lo fa anche con wget

Codice: Seleziona tutto

bash-5.0# wget https://slackbuilds.org/GPG-KEY
--2020-10-12 16:15:43--  https://slackbuilds.org/GPG-KEY
Resolving slackbuilds.org (slackbuilds.org)... 66.85.79.67, 2604:5800:0:90::67
Connecting to slackbuilds.org (slackbuilds.org)|66.85.79.67|:443... connected.
ERROR: cannot verify slackbuilds.org's certificate, issued by ‘CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US’:
  Unable to locally verify the issuer's authority.
To connect to slackbuilds.org insecurely, use `--no-check-certificate'.
ora da quel che so io va a cercare le ca sotto /etc/ssl/certs.
Sulla mia stable quella directory contiene piu' entry.

La mia domanda è... è un problema noto(pacchetti ca-certificates della current) oppure sbaglio qualcosa io?

Grazie

Re: [slackware-current] curl e problemi con https

Inviato: lun 12 ott 2020, 16:32
da ilmich
Ho risolto lanciando un

Codice: Seleziona tutto

update-ca-certificates --fresh
Ciau
Michele