FS#69379 - [mkcert] update-ca-certificates: is not a command

Attached to Project: Community Packages
Opened by Xaver (x-f) - Wednesday, 20 January 2021, 11:02 GMT
Last edited by Christian Rebischke (Shibumi) - Saturday, 27 March 2021, 13:10 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Christian Rebischke (Shibumi)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

https://archlinux.org/packages/core/any/ca-certificates/ is empty (2kb for meta files) and the file list outdated.

Additional info:
* mkcert 1.4.2-1


```
make cert-install
Install root certificate in browsers and supported systems.
Sudo password:
ERROR: failed to execute "update-ca-certificates": exit status 1

sudo: update-ca-certificates: command not found
```

Steps to reproduce:
- Install a root cert with `mkcert -install`

Unable to use the program without imported root cert.
This task depends upon

Closed by  Christian Rebischke (Shibumi)
Saturday, 27 March 2021, 13:10 GMT
Reason for closing:  Works for me
Additional comments about closing:  closed as suggested by Xaver
Comment by Antonio Rojas (arojas) - Wednesday, 20 January 2021, 11:30 GMT
ca-certificates being empty is expected. I suppose you have some stuff in /usr/local/share/ca-certificates ?

https://github.com/FiloSottile/mkcert/blob/master/truststore_linux.go#L38
Comment by Xaver (x-f) - Wednesday, 20 January 2021, 11:36 GMT
I mean the program update-ca-certificates is missing and no dependency in mkcert to a package with update-ca-certificates.
Without update-ca-certificates it won't work.

https://github.com/FiloSottile/mkcert/blob/master/truststore_linux.go#L40

I think update-ca-trust is the new one and the package won't work after a fresh install.
Generating normal certs is working as expected
Comment by Antonio Rojas (arojas) - Wednesday, 20 January 2021, 11:43 GMT
That command is only used if you have a /usr/local/share/ca-certificates dir on your system, hence my question (which you didn't answer)
Comment by Xaver (x-f) - Wednesday, 20 January 2021, 11:47 GMT
Sry, yes i have the folder and an old generated cert is in where.
I understand now what your point is and why it is not working.

I think this can be closed, sorry for the inconvenience.

Loading...