title: SSL certificate exception in Firefox
body: <p>and thanks in advance for your help or any tip that could get me out of here.</p>
  
  <p>I work on a Java EE app with a JBoss server and an Apache. I'm not really familiar with SSL connections and certificates, I understand the basic, but I have to deal with it.
  So on my local configuration (<strong>localhost</strong>) I have my connection certificate configured on JBoss and Apache, and a <strong>USER_DEV.P12</strong> file, which I import in my certificates in Firefox.
  I have the same configuration on a distant test server (<strong>test-server</strong>), and a <strong>USER_TEST.P12</strong> which I also import in Firefox.</p>
  
  <p>When I access <code>https://localhost/</code> or <code>https://test-server/</code> Firefox asks me to add an exception, which is normal. After that, I select the appropriated user certificate, and can use my application normally. 
  But for the second (let's say <code>https://test-server/</code>), Firefox rises me a <code>sec_error_reused_issuer_and_serial</code> error. Of course I googled it and founded the <a href="http://support.mozilla.com/en/kb/Certificate+contains+the+same+serial+number+as+another+certificate" rel="noreferrer">Mozilla help</a>, So when I delete the "server" in my certificate manager, I can access again my second domain, but the same problem occurs for the first one.</p>
  
  <p>To shorten the problem, my 2 client/server certificate couples are OK but I can't have 2 certificate exceptions at the same time in Firefox for my 2 different servers/users, even though the names, server address, and MD5 are different. I notified the serial is the same (01), but it's working on my colleague's computer. So am I doing something wrong? Do I have to deal with it manually each time (or with Firefox profiles)?</p>