How to run "dpkg-reconfigure ca-certificates" noninteractively?

Viewed 26212

I would like default to "accept" new certificate. I have tried the following.

$ dpkg-reconfigure -f noninteractive ca-certificates

It runs, but the CA is not added.

If not possible, is it OK to directly modify /etc/ca-certificates.conf?

Thank you for the help.

2 Answers
Related