MediaWiki | 1.37.1 |
PHP | 7.4.28 (cgi-fcgi) |
SQLite | 3.37.2 |
ICU | 70.1 |
When using MediaWikis VisualEditor, I get this error:
Error contacting the Parsoid/RESTBase server: (curl error: 60) SSL peer certificate or SSH remote key was not OK
When setting up lighttpd to use https I did the following:
- created a private key and a private CA certificate, so my private server can sign certificates (ca.key, ca.pem)
- created a key and a certificate signing request for lighttpd and signed it with my CA certificate (key.pem, server.pem)
- added my own CA certificate to trusted certificates (trust anchor --store=/.../ca.pem)
When I now run
openssl verifiy /.../ca.pem
I get OK
as answer - this makes sense, because I added the CA certificate.
When I run
openssl verifiy /.../server.pem
I also get OK
, because the request was signed with the CA certificate.
But I don't understand, why now curl print this error?
Shouldn't also curl trust my both certificates as openssl shows?