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?