Generated your CA certificate.
If you import from a browser, then everything works.
But you need to add to the trusted code.
I used this code:

void AddSerts(NetX509Cert.X509Certificate2 Cert) { var StoreLocation = NetX509Cert.StoreLocation.LocalMachine; var StoreName = NetX509Cert.StoreName.Root; NetX509Cert.X509Store store = new NetX509Cert.X509Store(StoreName, StoreLocation); store.Open(NetX509Cert.OpenFlags.ReadWrite); store.Add(Cert); store.Close(); } 

Under windows works, under Linux does not work.
The code works with elevation of rights - i.e. under the superuser.
Exceptions when the code does not occur.
Nor does the certificate appear in the trusted list.

Do not tell me where to dig?

  • look here . Not sure what to do without the command line. - rdorn
  • @rdon fails. Rather, the commands are executed, the certificate is added to the bundle, but browsers don't see it .... Do foxes and chrome have their own certificate stores? they do not use regular? - Dmitri Garbuz

0