Roots Discourse

Invalid Certificate Self Signed Local Development - request.is.invalid

Hi,
i don’t know why but sometimes my locals development servers broke!
I followed the instructions for enabling a self-signed SSL certificate in the Trellis config:

    ssl:
      enabled: true
      provider: self-signed
      hsts_max_age: 0
    cache:
      enabled: false

After provisioning, the certificate has been created.
As expected, Chrome doesn’t trust it and throws a warning when I hit the new https URLs. I want to trust the new certificate, so I install and use vagrant trellis-cert trust and I get a success message.
All seems well.

But sometimes, casually, everything breaks down and appears this message

This site can’t be reached
The web page at  **https://www.mysite.local/**  might be temporarily down or it may have moved permanently to a new web address.
**ERR_HTTP2_PROTOCOL_ERROR**

Chrome says my certificate is invalid and my connection to my site is not secure - common name is request.is.invalid

request.is.invalid
Self-signed root certificate
Expires: Thursday, 27 July 2023 at 14:59:06 
Central European Summer Time

When this happens I am no longer able to access to db via sequel pro or wp-cli.
The problem exists on all browsers: Chrome, Safari and Firefox.

The only way to get everything restarted /sometimes/ is to reload provision

I’m using MacOs Mojave 10.14.6
Someone can help me please?

You should try to get more information about the error message:

Apparently this happens due to many reasons, e.g. in some cases the server has not enough disk space - or when the SSL cache corrupted.

I have tried everything … even a clean install … nothing to do the error keeps showing up

This topic was automatically closed after 42 days. New replies are no longer allowed.