Topic: server certificate verification failed
veramental free asked 3 years ago
Expected behavior
Package installs as expected
Actual behavior
Package does not install
Resources (screenshots, code snippets etc.)
2021-10-13 01:02:15 pm 1 ms output npm ERR! /usr/bin/git ls-remote -h -t https://oauth2:XXXXXXXXXXXXXX@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git 2021-10-13 01:02:15 pm 0 ms output npm ERR! 2021-10-13 01:02:15 pm 1 ms output npm ERR! fatal: unable to access 'https://oauth2:XXXXXXXXXXXXXX@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none 2021-10-13 01:02:15 pm 1 ms output npm ERR! 2021-10-13 01:02:15 pm 0 ms output npm ERR! exited with error code: 128
I HAVE ALREADY TRIED
"update your ca-certificate" - I can't update your certificates, and I can't instruct AWS which certificates to honor
"add postcss-custom-properties to your package.json" - Already tried.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Opened
- ForumUser: Free
- Premium support: No
- Technology: MDB Angular
- MDB Version: MDB4 9.4.0
- Device: All
- Browser: All
- OS: All
- Provided sample code: No
- Provided link: Yes
gl_eero premium commented 3 years ago
I do have the same issue when using the MDB React package in Azure DevOps. Builds fail.
Marek Winiarski staff commented 3 years ago
Hello,
This problem must be resolved on both sides, On server everything is updated to the latest version.
Please follow this instruction if you can't use 'dist-upgrade'. https://fabianlee.org/2019/01/28/git-client-error-server-certificate-verification-failed/
Download our certificate and please add it to your instances, openssl s_client -showcerts -servername git.mdbootstrap.com -connect git.mdbootstrap.com:443 /dev/null | sed -n -e '/BEGIN\ CERTIFICATE/,/END\ CERTIFICATE/ p' > git-mycompany-com.pem
Marek From MDB
gl_eero premium commented 2 years ago
How do you solve this when building the app using Azure pipelines?
Marek Winiarski staff commented 2 years ago
Do you use YAML files? Do you use the Node image to build your application? Can you update Node to the latest version?