title: Your connection is not secure - using Selenium.WebDriver v.3.6.0 + Firefox v.56
body: <p>I'm writing tests with <strong>Selenium + C#</strong> and I face an important issue because I didn't found  solution when I test my site with secure connection (<strong>HTTPS</strong>). All solutions I found on stackoverflow are out of date or doesn't work.
  I tried to exercise all solutions from below question: 
  <a href="https://stackoverflow.com/questions/42583795/selenium-why-setting-acceptuntrustedcertificates-to-true-for-firefox-driver-does">Selenium Why setting acceptuntrustedcertificates to true for firefox driver doesn&#39;t work?</a></p>
  
  <p>But they did not help me solve the problem
  Nor is it the solution of using Nightly FireFox.
  Still, when the selenium loading Firfox browser, I see the page: "Your connection is not secure".</p>
  
  <p><strong>Configuration:</strong></p>
  
  <ul>
  <li><em>Firefox</em>   v56.0</li>
  <li><em>Selenium.Firefox.WebDriver</em>   v0.19.0</li>
  <li><em>Selenium.WebDriver</em>   v3.6.0</li>
  </ul>
  
  <p>my code is:</p>
  
  <pre><code>                    FirefoxOptions options = new FirefoxOptions();
                      FirefoxProfile profile = new FirefoxProfile();
                      profile.AcceptUntrustedCertificates = true;
                      profile.AssumeUntrustedCertificateIssuer = false;
                      options.Profile = profile;
                      driver = new FirefoxDriver(FirefoxDriverService.CreateDefaultService() , options , TimeSpan.FromSeconds(5));
                      Drivers.Add(Browsers.Firefox.ToString() , driver);
  </code></pre>
  
  <p>Thank for your help!</p>
  
  <p><strong>Updates to my question here:</strong> </p>
  
  <p><strong><em>Note 1:</em></strong> To anyone who has marked my question as a duplicate of this question:</p>
  
  <p><a href="https://stackoverflow.com/questions/44716870/firefox-selenium-webdriver-gives-insecure-connection">Firefox selenium webdriver gives “Insecure Connection”</a>
  I thought that it is same issue, but I need solution for C#, I try match your JAVA code to my above code</p>
  
  <p>First, I changed to TRUE the below statment:</p>
  
  <pre><code>     profile.AssumeUntrustedCertificateIssuer = true;
  </code></pre>
  
  <p>second, I create new FF profile ("AutomationTestsProfile")
  and try to use it:</p>
  
  <p>Try 1:</p>
  
  <pre><code>       FirefoxProfile profile = new FirefoxProfileManager().GetProfile("AutomationTestsProfile");
  </code></pre>
  
  <p>try 2:</p>
  
  <pre><code>       FirefoxProfile profile = new FirefoxProfile("AutomationTestsProfile");
  </code></pre>
  
  <p>I Run 2 options, but still the issue exists.</p>
  
  <p><strong><em>Note 2:</em></strong> I attached screenshot of my problem, it appears when the driver try to enter text to user-name on login page. </p>
  
  <p>I noticed that when I open my site with FF, Firefox displays a lock icon with red strike-through red strikethrough icon in the address bar, </p>
  
  <p>but near the username textbox not appears the msg: </p>
  
  <p>"This connection is not secure. Logins entered here could be compromised. Learn More" (as you writed on the duplicate question), </p>
  
  <p><strong>So maybe there is a different problem?</strong></p>
  
  <p><img src="https://i.stack.imgur.com/IYrJa.png" alt="screenshot: &quot;insecure Connection&quot; tab"></p>