You are not logged in.
Hi all
I installed a self generated CA using trust anchor, and it worked then.
But not know why, it won't work anymore, and got self signed certificate error.
Tried with reinstall it with trust also tried with some other methods metioned on the forum, like using update-ca-trust.
So how do i continue to resovle this issue?
thanks.
-----
How it was installed before.
========
$ trust anchor ca.crt
Suddenly won't work anymore.
========
curl https://192.168.10.120:443 -v
* Trying 192.168.10.120:443...
* Connected to 192.168.10.120 (192.168.10.120) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
* CApath: none
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (OUT), TLS alert, unknown CA (560):
* SSL certificate problem: self signed certificate
* Closing connection 0
curl: (60) SSL certificate problem: self signed certificate
More details here: https://curl.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.
And the method tried to reinstall it
======
$ cp ca.crt /etc/ca-certificates/trust-source/anchors/
$ trust extract-compat
$ cp ca.crt /usr/local/share/ca-certificates/192.168.10.120.ca.crt
$ update-ca-certificates
```
Offline