FiloSottile / FiloSottile/mkcert
If dynamic CA configuration disabled - return error
- Dominant language
- Go
- Stars
- 59.6k
- Forks
- 3.1k
- PR merge metrics
- No merged PRs in 30d
Description
When "The dynamic CA configuration feature is in the disabled state" `mkcert -install` put certificate to the appropriate place and call `update-ca-trust extract` (for Linux / CentOS 6 for example).
This util produced Warning output and does nothing with certs.
```sh
[root@centos]# update-ca-trust extract
update-ca-trust: Warning: The dynamic CA configuration feature is in the disabled state
So CA cert was not installed.
```
Proposed to chek that "The dynamic CA configuration feature is in the disabled state" and return non zero result code when trying to install the certificate.
Contributor guide
Research direction
Start with the mkcert -install path for Linux and the call to update-ca-trust extract, using the CentOS 6 behavior described in the issue as the reproduction case. Confirm how the warning is currently handled and verify that a disabled dynamic CA configuration produces a non-zero result instead of reporting successful installation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- centos, go, linux
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100