title: Java applet with self-signed certificate on OS X Mountain Lion
body: <p>We have a Java applet that needs to run with full trust.</p>
  
  <p>While developing and during pre-release tests we sign it using a self-signed certificate (the production version is signed with a real code signing certificte).</p>
  
  <p>But when we try to start the self-signed applet on the prerelases of OS X 10.8, we can no longer choose to allow it to run. The "Allow"-button is simply disabled:</p>
  
  <p><img src="https://i.stack.imgur.com/oLulO.png" alt="Disabled &quot;Allow&quot; button"></p>
  
  <p>If I press "Show Details..." I can choose to "Always trust" the certificate, but this makes no difference:</p>
  
  <p><img src="https://i.stack.imgur.com/l08lm.png" alt="enter image description here"></p>
  
  <p>It works with the same version of the Java JRE on OS X Lion 10.7, so I suspect it is an issue with the OS and not the JRE.</p>
  
  <p>Are there any workarounds?</p>
  
  <p>I would prefer not to use a real code signing certificate for testing: signing with a real code signing certificate means that my company asserts that the applet is secure and should be trusted. We can hardly assert that before we have tested it.</p>