Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

AIO RDE Certificate issue error

Avatar

Level 2

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

aio plugins:install @adobe/aio-cli-plugin-aem-rdeaio plugins:install @adobe/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 @adobe/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 @adobe/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 @adobe/aio-cli-plugin-aem-rdeaio... failed
Error: yarn add @adobe/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?

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

3 Replies

Avatar

Level 2

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

Avatar

Community Advisor

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

 

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