Expand my Community achievements bar.

Unable to run local environment for aem franklin using aem up command

Avatar

Level 5

Hi All,

While setting up the local envirinment for aem franklin, I'm unable to run the aem using the aem up command its throwing the error "unable to get local issuer certificate" which is attached below, kindly give suggestion to resolve this error.

Nandheswara_0-1708245160090.png

 

Regards,

Nandheswara

Topics

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

4 Replies

Avatar

Administrator

@Nandheswara Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.



Kautuk Sahni

Avatar

Level 1

Did you find the solution to this problem ? I am also facing with the same problem and whatever solutions I see on forums does not resolve it. If you could resolve the problem can you please share it here ?

 

error: https://admin.hlx.page/sidekick/<owner-name>/<project>/main/config.json is using an invalid certificate, please check https://github.com/adobe/helix-cli#troubleshooting for help.
unable to get local issuer certificate. This crops up on executing command - aem up

but the same URL is accessible using browser.

Avatar

Level 1

Ok this approach has worked for me on my local Windows 11 -


I accessed this URL on my Chrome browser - https://admin.hlx.page/sidekick/owner-name/repo-name/github-branch-name/config.json
I extracted the Base64 encoded Certificate Chain (second option on Save As dialog while Exporting certificate) as *.pem from the browser.
I put it in a directory called certs under the cloned boilerplate repository folder.
Then from the cloned repo folder I executed - set NODE_EXTRA_CA_CERTS=./certs/hlx.page.pem
Then executed - aem up