server certificate verification failed


Topic: server certificate verification failed

veramental pro asked 4 days 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.


gl_eero pro premium commented 3 days ago

I do have the same issue when using the MDB React package in Azure DevOps. Builds fail.


Marek Winiarski staff commented 3 days 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


Please insert min. 20 characters.
Status

Open

Specification of the issue
  • User: Pro
  • 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