Topic: SSL Certificate Problem

cloudsyte2 premium asked 2 years ago


Expected behavior Should be able to install the package via npm.

Actual behavior Showing error SSL certificate problem.

Resources (screenshots, code snippets etc.) Logs of yarn install:

error Command failed.
Exit code: 128
Command: git
Arguments: ls-remote --tags --heads https://oauth2:-REMOVED-TOKEN@git.mdbootstrap.com/mdb/react/mdb5/prd/mdb5-react-ui-kit-pro-essential
Directory: /Users/USER/Desktop/React/cloudsyte-frontend
Output:
fatal: unable to access 'https://git.mdbootstrap.com/mdb/react/mdb5/prd/mdb5-react-ui-kit-pro-essential/': SSL certificate problem: certificate has expired
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command

.


cloudsyte2 premium commented 2 years ago

A quick check on macOS Big Sur and I assume this is only happening on macOS Catalina.

Is there some guide to follow to fix this issue? I updated the node version to LTS and I switched to the new SSL recommendation too but seems it didn't work either.


Marek Winiarski staff commented 2 years ago

Hi What version of Node are you using in the yarn configuration file.

The most common problem is with the node image that users use to build their applications.

Please check the Node version you are using to build the application. Can you change it to the newest one?

if not, please send me the information: - what operating system, name: version - you are using Jenkins, Docker, yarn, or something similar to build your app - you use built-in services from providers such as AWS, Azure, such as AWS Amplify

if you prefer, you can send these messages to me by e-mail so as not to publish something that you would not like m.winiarski@mdbootstrap.com


cloudsyte2 premium commented 2 years ago

Hey there. It's the node lts (16.14.0). I am running it locally so no docker or Jenkins jobs. I am on macOS Catalina. Please let me know if you need any more info. Thanks


Marek Winiarski staff commented 2 years ago

you probably have the same problem as this thread, try to make it as described is here

https://apple.stackexchange.com/questions/428448/app-curl-still-getting-certificate-expired-error-due-to-expired-lets-encrypt


elemech premium answered 2 years ago


I noticed I was getting the error on a computer with Node 16.15.0 installed, but not on a computer with 16.13.1 installed.



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue

  • ForumUser: Premium
  • Premium support: Yes
  • Technology: MDB React
  • MDB Version: MDB5 2.4.0
  • Device: MAC
  • Browser: N/A
  • OS: MacOS Catalina
  • Provided sample code: No
  • Provided link: No