Topic: NPM install fails with SSL certificate problem: certificate has expired

mcorey premium asked 2 years ago


Expected behavior I'm trying to install MDB5 2.3.0 using NPM. I've created a new ED25519 SSH key. Added the key to GitLab. Created an access token and appended that access token to: npm i git+https://oauth2:_xxx@git.mdbootstrap.com/mdb/standard/mdb-ui-kit-pro-essential (replacing the xxx with my access token.) Actual behavior I receive the following message fatal: unable to access 'https://oauth2:@git.mdbootstrap.com/mdb/standard/mdb-ui-kit-pro-essential/': SSL certificate problem: certificate has expired

Resources (screenshots, code snippets etc.)


Marek Winiarski staff commented 2 years ago

Hi,

90% of the reasons are an old software version. Most often it helps to update Node.

If you are using Docker or Jenkins or some services from AWS or Azure, such as Amplify, try editing the Yaml file and force a newer version of the node.

If for some reason you cannot update, write me an e-mail to m.winiarski@mdbootstrap.com and describe 1. What operating system are you using 2. Whether you are using Docker, Jenkins, or any other tool in the implementation process of your application.

I will try to prepare a set of commands for you to solve the problem.

At this link, our information about what has changed: https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Opened

Specification of the issue

  • ForumUser: Premium
  • Premium support: Yes
  • Technology: MDB React
  • MDB Version: MDB5 2.3.0
  • Device: Laptop
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: Yes