#mkcert -install command gives this issue ERROR: add cert: failed adding cert: Access is denied.

1 messages · Page 1 of 1 (latest)

sweet night
#

mkcert -install command gives this issue
ERROR: add cert: failed adding cert: Access is denied.
Machine : Windows 11
Tried in root directory of the project and also in another file same issue arises everytime.
Any Insight would be helpful!!

slender acornBOT
#

Did you install Appsmith to the root folder of your PC? It looks like it doesn't
have permission to write in it's current location. Please try moving your
installation elsewhere on your PC.

sweet night
#

Appsmith Project is cloned in my Desktop, local disk : C
let me try on another disk,

#

Same issue Still!

slender acornBOT
#

Can you elaborate on what you're trying to do here? Are you setting up Appsmith
or setting up the development environment?

sweet night
slender acornBOT
#

Have you tried using a terminal ran as Administrator? If that doesn't work,
please re-clone the repo and try the steps again from the start.

sweet night
#

I ran terminal as Admin. I'll reclone and try the steps again..

slender acornBOT
#

Ok. Keep us posted.

sweet night
#

I m travelling rn cant open laptop, will keep posted

slender acornBOT
#

Ok, thanks.

sweet night
#

Hi there, I retried the above steps again but was getting the same issue again

C:\Users\91955\Desktop\development\appsmith> cd app/client/docker

C:\Users\91955\Desktop\development\appsmith\app\client\docker> mkcert -install
ERROR: add cert: failed adding cert: Access is denied.

#

Machine: Windows 11

#

I had one more doubt so in the above image
Is the directory etc/hosts inside the project folder appsmith
or is it outside?

#

I am using windows will this cmd work?

echo 127.0.0.1 dev.appsmith.com >> C:\Windows\System32\drivers\etc\hosts
sweet night
#

Resolved issue

slender acornBOT
#

We are glad it is resolved. Would you mind sharing the solution to help our
community?