server certificate verification failed


Topic: server certificate verification failed

veramental asked 9 months 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 9 months ago

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


Marek Winiarski staff pro premium commented 9 months 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 pro premium commented 6 months ago

How do you solve this when building the app using Azure pipelines?


Marek Winiarski staff pro premium commented 6 months ago

Do you use YAML files? Do you use the Node image to build your application? Can you update Node to the latest version?


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Open

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