Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't open https on windows: fail to install certificate #1279

Open
SlnPons opened this issue Dec 1, 2023 · 3 comments
Open

Can't open https on windows: fail to install certificate #1279

SlnPons opened this issue Dec 1, 2023 · 3 comments
Labels
cert-host Issue related to certificate, access to .massa issue:bug Something isn't working P2

Comments

@SlnPons
Copy link
Contributor

SlnPons commented Dec 1, 2023

The problem(s)
Can't open https on windows for any browsers.

To Reproduce
Download latest version of MS and try to access https

Expected behavior(s)

Screenshots
https://discord.com/channels/828270821042159636/1179886085422202940/1179886085422202940

MassaStation version
massastation (1).log

Desktop (please complete the following information):

  • OS: Windows
@SlnPons SlnPons added the issue:bug Something isn't working label Dec 1, 2023
@SlnPons SlnPons added this to the Addressing user pains milestone Dec 1, 2023
@Thykof
Copy link
Contributor

Thykof commented Dec 1, 2023

The error from the log:

Error while checking certificate: failed to add the CA to the operating system: failed to add certificate to windows root store: failed adding cert: Access is denied..

We should investigate to understand how an access denied error could happen.

failed to add the CA to NSS: adding the certificate to the NSS database (C:\UsersСаша\AppData\Roaming\Mozilla\Firefox\Profiles\6pzy2mjf.default-release): C:\Program Files (x86)\MassaStation\mar-tools\certutil.exe: function failed: SEC_ERROR_BAD_DATABASE: security library: bad database

We should focus on SEC_ERROR_BAD_DATABASE: maybe try with another database.

@Thykof Thykof changed the title Can't open https on windows Can't open https on windows: fail to install certificate Dec 1, 2023
@gregLibert
Copy link
Contributor

The log indicates a fatal error due to a service already using port 80:

2023-12-01T00:02:50.815+0300	�[31mFATAL�[0m	listen tcp :80: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.

@SlnPons, is this relevant to the current issue, or are you solely focusing on the HTTPS problem here?

@SlnPons
Copy link
Contributor Author

SlnPons commented Dec 4, 2023

The log indicates a fatal error due to a service already using port 80:

2023-12-01T00:02:50.815+0300	�[31mFATAL�[0m	listen tcp :80: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.

@SlnPons, is this relevant to the current issue, or are you solely focusing on the HTTPS problem here?

As it is on Windows, both problems should be investigated if possible. In this order:

  1. https: as it's the problem shared by user so the sooner we can answer them the better.
  2. The port 80: tbh I don't remember what's this problem has exactly for impacts. But my logic would say: it's on windows e must try to offer the best experience possible on windows.

@SlnPons SlnPons added P1 High priority task P2 and removed P1 High priority task labels Dec 4, 2023
@Thykof Thykof added the cert-host Issue related to certificate, access to .massa label May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cert-host Issue related to certificate, access to .massa issue:bug Something isn't working P2
Projects
None yet
Development

No branches or pull requests

3 participants