title: Undefined CommonName in certificate
body: <p>So far, I've been working with a certificate which I added to a SoapUI 5.2 project and which gave me access to a pre-production server. However, now that I'm ready to move to a production environment, I'm trying to check the new production certificate with SoapUI, but I'm getting the next error:</p>
  
  <pre><code>WARN:Using fallback method to load keystore/truststore due to: Invalid keystore format
  ERROR:An error occurred [java.lang.NullPointerException], see error log for details
  </code></pre>
  
  <p>And the error log says:</p>
  
  <pre><code>ERROR:Could not load keystore/truststore
  ERROR:java.lang.NullPointerException
     java.lang.NullPointerException
      at org.apache.commons.ssl.KeyStoreBuilder.build(KeyStoreBuilder.java:176)
      at org.apache.commons.ssl.KeyStoreBuilder.build(KeyStoreBuilder.java:97)
      at org.apache.commons.ssl.KeyStoreBuilder.build(KeyStoreBuilder.java:88)
      at com.eviware.soapui.impl.wsdl.support.wss.crypto.KeyMaterialWssCrypto.fallbackLoad(KeyMaterialWssCrypto.java:206)
      at com.eviware.soapui.impl.wsdl.support.wss.crypto.KeyMaterialWssCrypto.load(KeyMaterialWssCrypto.java:168)
      at com.eviware.soapui.impl.wsdl.support.wss.crypto.KeyMaterialWssCrypto.getStatus(KeyMaterialWssCrypto.java:216)
      at com.eviware.soapui.impl.wsdl.panels.project.WSSTabPanel$CryptoTableModel.getValueAt(WSSTabPanel.java:643)
      at javax.swing.JTable.getValueAt(Unknown Source)
      at javax.swing.JTable.prepareRenderer(Unknown Source)
  ...
  </code></pre>
  
  <p>The only difference I found between the pre-production and production certificates was that the latter did not have the CommonName field defined.</p>
  
  <p>I know that field is not mandatory, so how is that possible? How can I solve this problem without asking for a new certificate? That's not an option.</p>
  
  <p>Any suggestion would be appreciated.</p>