1. 24 Feb, 2018 3 commits
  2. 23 Feb, 2018 10 commits
  3. 22 Feb, 2018 5 commits
    • mohammadlachgar's avatar
      Now you can Change path rootCert.pfx · 33ec65f4
      mohammadlachgar authored
      Now you can Change path rootCert.pfx ,name and password
      33ec65f4
    • mohammadlachgar's avatar
      Change only_load_rootCert to overwriteRootCert · 150d7595
      mohammadlachgar authored
      //Methode 1
      //------------
       proxyServer = new ProxyServer();
      //proxyServer.Password_rootCert = "PfxPassword";
       proxyServer.TrustRootCertificate = true;
      .....
      .....
       proxyServer.Start(); 
      //The provided root certificate will be stored in proxy dll directory
      
      //=====================
      //Methode 2
      //----------
       proxyServer = new ProxyServer();
       proxyServer.TrustRootCertificate = true;
      
      //Will not (load or create) certificate Before call function CreateTrustedRootCertificate
      proxyServer.CertificateManager.SetInfo_LoadRootCertificate(@"C:\NameFolder\rootCert.pfx", "PfxPassword");
      .....
      .....
       proxyServer.Start(); 
      //The provided root certificate will be stored in "C:\NameFolder\rootCert.pfx"
      
      
      //=====================
      //Methode 3
      //------------
       proxyServer = new ProxyServer();
       proxyServer.TrustRootCertificate = true;
      
      //note : load now "C:\NameFolder\rootCert.pfx" (if existed)
      proxyServer.CertificateManager.LoadRootCertificate(@"C:\NameFolder\rootCert.pfx", "PfxPassword");
      .....
      .....
       proxyServer.Start(); 
      //if doesn't exist file, or password is incorect and (overwriteRootCert=true) ====> create new pfx file 
      //The provided root certificate will be stored in "C:\NameFolder\rootCert.pfx"
      150d7595
    • mohammadlachgar's avatar
      change ProxyEndPoints.Any to ProxyEndPoints.OfType · 21c6309f
      mohammadlachgar authored
      change 
      if (ProxyEndPoints.Any(x => (x as ExplicitProxyEndPoint).GenericCertificate == null))
      to
      if (ProxyEndPoints.OfType<ExplicitProxyEndPoint>().Any(x => x.GenericCertificate == null))
      and add 
       throw new Exception(ex.Message);
      21c6309f
    • mohammadlachgar's avatar
      remove cn from FriendlyName · eb68d296
      mohammadlachgar authored
      change
      @"^" + "CN".ToLower() + @"\s*=\s*"
      to
      ^CN\s*=\s*
      eb68d296
    • mohammadlachgar's avatar
      **Add password to rootCert.pfx. and more... · cf082423
      mohammadlachgar authored
      **Save all fake certificates in folder "crts"(will be save in proxy dll directory)
       for can load the certificate and not make new certificate every time .
      **Manually load a RootCertificate
      cf082423
  4. 11 Feb, 2018 1 commit
  5. 10 Feb, 2018 3 commits
  6. 06 Feb, 2018 1 commit
  7. 16 Jan, 2018 1 commit
  8. 15 Jan, 2018 1 commit
  9. 10 Jan, 2018 1 commit
  10. 05 Jan, 2018 3 commits
  11. 03 Jan, 2018 2 commits
  12. 02 Jan, 2018 6 commits
  13. 01 Jan, 2018 3 commits