Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 9 of 9 total
Thread localhost certificate Access is denied
Wed, Jan 20 2021 12:07 PMPermanent Link

Anthony

I have tired to install EWB on my main computer but unable to get the ewbcert to create but it fails "Access is denied" I have check the certificate stores and already have an IIS Express certificate called localhost. Is this likely to be the cause and is there a workaround?

C:\Program Files (x86)\Elevate Web Builder 3\bin\ewbcert>cd win32

C:\Program Files (x86)\Elevate Web Builder 3\bin\ewbcert\win32>ewbcert.exe localhost -c
Elevate Web Builder 3 Certificate Utility
Version 3.00 (3.00 Build 1)
Copyright (C) 2021 Elevate Software, Inc.  All Rights Reserved


Creating the localhost certificate in the My store (CURRENT_USER)
Error creating the EWBRootCA self-signed certificate in the Root store (Error adding the EWBRootCA certificate to the CURRENT_USER certificate store Root (OS Error: Access is denied.))
Wed, Jan 20 2021 12:36 PMPermanent Link

Raul

Team Elevate Team Elevate

On 1/20/2021 12:07 PM, Anthony wrote:
> I have tired to install EWB on my main computer but unable to get the ewbcert to create but it fails "Access is denied" I have check the certificate stores and already have an IIS Express certificate called localhost. Is this likely to be the cause and is there a workaround?
>
> C:\Program Files (x86)\Elevate Web Builder 3\bin\ewbcert>cd win32
>
> C:\Program Files (x86)\Elevate Web Builder 3\bin\ewbcert\win32>ewbcert.exe localhost -c
> Elevate Web Builder 3 Certificate Utility
> Version 3.00 (3.00 Build 1)
> Copyright (C) 2021 Elevate Software, Inc.  All Rights Reserved
>
>
> Creating the localhost certificate in the My store (CURRENT_USER)
> Error creating the EWBRootCA self-signed certificate in the Root store (Error adding the EWBRootCA certificate to the CURRENT_USER certificate store Root (OS Error: Access is denied.))
>

Run ewbcert (ewbcert localhost -c) using elevated command prompt and it
should work.


Raul
Wed, Jan 20 2021 1:12 PMPermanent Link

Anthony

Raul wrote:

>>Run ewbcert (ewbcert localhost -c) using elevated command prompt and it should work.

Thanks Raul, I did right click and run the command prompt as administrator and got the access denied message
Wed, Jan 20 2021 10:46 PMPermanent Link

Raul

Team Elevate Team Elevate

On 1/20/2021 1:12 PM, Anthony wrote:
> Thanks Raul, I did right click and run the command prompt as administrator and got the access denied message
>

Sorry then i'm out of ideas but it looks like windows permissions issue.

I do have another localhost cert (non EWB) in my user cert store as well
though it's not IIS related.

Ewbcert is able to create a 2nd localhost one or recreate if i delete it.

In fact if I run it twice it creates 2 of them.

Raul
Fri, Jan 22 2021 12:42 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Anthony,

<< I have tired to install EWB on my main computer but unable to get the ewbcert to create but it fails "Access is denied" I have check the certificate stores and already have an IIS Express certificate called localhost. Is this likely to be the cause and is there a workaround? >>

If you already have an existing "localhost" certificate, then you don't need another one.  If you want to replace the existing one, then you'll need to use the mmc utility to delete the old one before using the ewbcert utility to create a new one.

Also, are you running as an admin-level Windows user, or just a normal user ?  If you run as a normal user, you might have issues using the ewbcert utility to create the root certificate for your user.  The root certificate is used to sign the "localhost" certificate.  It has to be done this way to satisfy the various browsers that want to see a valid certificate chain.

Tim Young
Elevate Software
www.elevatesoft.com
Fri, Jan 22 2021 5:02 PMPermanent Link

Anthony

Tim Young [Elevate Software] wrote:

<<If you already have an existing "localhost" certificate, then you don't need another one.  If you want to replace the existing one, then you'll need to use the mmc utility to delete the old one before using the ewbcert utility to create a new one.>>

Yes Tim, i'm running as an admin user with an elevated command prompt, I don't know what created the other localhost certificate but its description is IIS Express so don't know the consequences of deleting it.

I get an error every time I open the EWB 3 IDE about the localhost certificate and unable to start the internal server but can deploy to a remote server

Anthony
Sat, Jan 23 2021 11:37 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Anthony,

<< Yes Tim, i'm running as an admin user with an elevated command prompt, >>

If the user you're running under is an admin user, then you should be able to execute the ewbcert utility without issue, event without an elevated command prompt.

<< I don't know what created the other localhost certificate but its description is IIS Express so don't know the consequences of deleting it. >>

In which certificate store is the existing localhost certificate installed ?  If it's the local machine store, then you'll still need to create a certificate for the current user using the ewbcert utility or the IDE will keep complaining about not finding a certificate when starting up.

Tim Young
Elevate Software
www.elevatesoft.com
Tue, Jan 26 2021 2:45 AMPermanent Link

Anthony

Tim Young [Elevate Software] wrote:

In which certificate store is the existing localhost certificate installed ?>>

Hi Tim, the IIS localhost certificate is in the the current user personal store
Wed, Jan 27 2021 3:34 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Anthony,

<< Hi Tim, the IIS localhost certificate is in the the current user personal store >>

So you have a "localhost" certificate in the current user certificate store, but when you start the EWB IDE the IDE complains about there not being a "localhost" certificate in the current user certificate store ?

Tim Young
Elevate Software
www.elevatesoft.com
Image