-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: unable to verify the first certificate #4760
Comments
Where is it installed? Could you try https://nodejs.org/api/cli.html#node_extra_ca_certsfile? |
I did it based on adding ubuntu 20.04 custom ca certificate. |
It seems nodejs does not load system certs, and you need to specify custom ones using https://nodejs.org/api/cli.html#node_extra_ca_certsfile |
I added the script below to /etc/profile.d. |
hi, |
How did you do?
Then just generate a certificate dedicated to your bucket: See also: #4455 |
Describe the current behavior
I want to use peertube version 4 and minio together. I installed on two separate servers. But the transcoded video cannot be loaded onto the minio. I am getting ssl certificate error. Root certificate is installed in the system.
With the minio client, it is possible to upload using the certificate in the system.
Access is also provided using s3cmd.
But it is not possible to transfer from peertube to minio server.
Feb 02 10:46:28 hbizsl23 peertube[4591]: "payload": {
Feb 02 10:46:28 hbizsl23 peertube[4591]: "videoUUID": "63d0d607-1705-4bd9-97cd-b92b2220345e",
Feb 02 10:46:28 hbizsl23 peertube[4591]: "isNewVideo": true
Feb 02 10:46:28 hbizsl23 peertube[4591]: },
Feb 02 10:46:28 hbizsl23 peertube[4591]: "err": {
Feb 02 10:46:28 hbizsl23 peertube[4591]: "stack": "Error: unable to verify the first certificate\n at TLSSocket.onConnectSecure (_tls_wrap.js:1515:34)\n at TLSSocket.emit (events.js:400:28)\n at TLSSocket.emit (domain.js:475:12)\n at TLSSocket._finishInit (_tls_wrap.js:937:8)\n at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:709:12)",
Feb 02 10:46:28 hbizsl23 peertube[4591]: "message": "unable to verify the first certificate",
Feb 02 10:46:28 hbizsl23 peertube[4591]: "code": "UNABLE_TO_VERIFY_LEAF_SIGNATURE",
Feb 02 10:46:28 hbizsl23 peertube[4591]: "$metadata": {
Feb 02 10:46:28 hbizsl23 peertube[4591]: "attempts": 1,
Feb 02 10:46:28 hbizsl23 peertube[4591]: "totalRetryDelay": 0
Feb 02 10:46:28 hbizsl23 peertube[4591]: }
Feb 02 10:46:28 hbizsl23 peertube[4591]: }
Feb 02 10:46:28 hbizsl23 peertube[4591]: }
The text was updated successfully, but these errors were encountered: