1. 09 Mar, 2018 2 commits
  2. 08 Mar, 2018 4 commits
  3. 07 Mar, 2018 3 commits
  4. 06 Mar, 2018 3 commits
  5. 01 Mar, 2018 4 commits
  6. 28 Feb, 2018 2 commits
  7. 24 Feb, 2018 3 commits
  8. 23 Feb, 2018 10 commits
  9. 22 Feb, 2018 5 commits
    • mohammadlachgar's avatar
      Now you can Change path rootCert.pfx · 92431f92
      mohammadlachgar authored
      Now you can Change path rootCert.pfx ,name and password
      92431f92
    • mohammadlachgar's avatar
      Change only_load_rootCert to overwriteRootCert · b663095c
      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"
      b663095c
    • mohammadlachgar's avatar
      change ProxyEndPoints.Any to ProxyEndPoints.OfType · 77f0fdde
      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);
      77f0fdde
    • mohammadlachgar's avatar
      remove cn from FriendlyName · 8fb9e60f
      mohammadlachgar authored
      change
      @"^" + "CN".ToLower() + @"\s*=\s*"
      to
      ^CN\s*=\s*
      8fb9e60f
    • mohammadlachgar's avatar
      **Add password to rootCert.pfx. and more... · 298418cf
      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
      298418cf
  10. 11 Feb, 2018 1 commit
  11. 10 Feb, 2018 3 commits