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

composer server ssl install CLI does not install the root certificate if mckert is already installed #566

Open
tomjn opened this issue Jan 30, 2023 · 1 comment
Labels
bug Existing functionality isn't behaving as expected to refine Issues needing refinement.

Comments

@tomjn
Copy link
Contributor

tomjn commented Jan 30, 2023

The composer server ssl install command implies that it will install the SSL certificate:

  	ssl install                   Installs and trusts Root Certificate Authority

But this does not always happen.

If mkcert is already installed no attempt is made to install a root certificate because the install command code calls return, so no attempt is made. This can lead to certificates being served that aren't accepted by the browser

@tomjn
Copy link
Contributor Author

tomjn commented Jan 30, 2023

To get around this these undocumented steps were needed:

composer server ssl generate mysite.local
composer server ssl exec -- -install

@tomjn tomjn added the bug Existing functionality isn't behaving as expected label Feb 3, 2023
@mikelittle mikelittle added the to refine Issues needing refinement. label Feb 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Existing functionality isn't behaving as expected to refine Issues needing refinement.
Projects
None yet
Development

No branches or pull requests

2 participants