AIO RDE Certificate issue error | Community
Skip to main content
Level 2
December 20, 2023

AIO RDE Certificate issue error

  • December 20, 2023
  • 2 replies
  • 1434 views

Hi I am unable to install aio rde plugin due to the following error:

aio plugins:install @61380/aio-cli-plugin-aem-rdeaio plugins:install @61380/aio-cli-plugin-aem-rde
(node:24648) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Installing plugin @61380/aio-cli-plugin-aem-rdeaio... - info No lockfile found.
(node:26376) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
Installing plugin @61380/aio-cli-plugin-aem-rdeaio... \ [1/4] Resolving packages...
error Error: unable to get local issuer certificate
at TLSSocket.onConnectSecure (node:_tls_wrap:1674:34)
at TLSSocket.emit (node:events:519:28)
at TLSSocket._finishInit (node:_tls_wrap:1085:8)
Installing plugin @61380/aio-cli-plugin-aem-rdeaio... failed
Error: yarn add @61380/aio-cli-plugin-aem-rdeaio@latest --non-interactive
--mutex=file:C:\Users\F805PR8\AppData\Local\@adobe\aio-cli\yarn.lock
--preferred-cache-folder=C:\Users\F805PR8\AppData\Local\@adobe\aio-cli\yarn --check-files
exited with code 1

 

Any way to bypass certificate issues or to get the local issuer certificate?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

arunpatidar
Community Advisor
Community Advisor
December 20, 2023
Arjun_SudAuthor
Level 2
January 4, 2024

I have updated as per the solution link shared, but it is still not working

aanchal-sikka
Community Advisor
Community Advisor
February 14, 2024

Please refer to https://techrevelhub.wordpress.com/2024/02/14/empowering-teams-the-rde-advantage-in-aem-development/#resolutions

 

If you encounter the “unable to load certificates openssl” error while using status/install commands, you can apply the following quick fixes:

  • Temporarily disable SSL certificate verification:
npm config set strict-ssl false

Alternatively, you can bypass certificate verification by setting an environment variable:

export NODE_TLS_REJECT_UNAUTHORIZED=0
SET NODE_TLS_REJECT_UNAUTHORIZED=0       //For Windows command line

Please note that both commands pose a security risk as they bypass certificate verification, so they should only be used temporarily.

Aanchal Sikka