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+ (replacing the xxx with my access token.) Actual behavior I receive the following message fatal: unable to access '': SSL certificate problem: certificate has expired

Resources (screenshots, code snippets etc.)

Marek Winiarski staff commented 2 years ago


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 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:

Please insert min. 20 characters.


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



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