AUR certificate reports as expired but it's not

After wiping all files and re-install of my company certificate, suddenly the command works as expected.

trust anchor --store <my.crt>

And curl to AUR / pamac is happy again.

Thank you very much for help @cscs, the short summary of fix is:

  • Delete files you don’t know about from
/etc/ca-certificates/trust-source/*
update-ca-trust
  • install only those extra certs you want/need
  • profit

Thank you