title: oracle.security.crypto.asn1.ASN1FormatException: Got tag 7830 instead of 16. when running in container
body: <p>I am trying to add support for wallet sign-in to some services that uses oracle, however I've run into this problem that i can't really quite figure out.</p>
  <p>The basic is that I use a company-shared library that implements ojdbc8-production and this shared library is already being used in other services to set up a connection pool and extracting credentials from a wallet.
  What has stumped me is that it works when running the jar in my own environment, but when i try to run it in a docker container i get an exception which reads:</p>
  <pre><code>Caused by: oracle.security.crypto.asn1.ASN1FormatException: Got tag 7830 instead of 16.
  oracle.security.crypto.asn1.ASN1Header.checkTag(Unknown Source)
  oracle.security.crypto.asn1.ASN1ConstructedInputStream.&lt;init&gt;(Unknown Source)
  oracle.security.crypto.asn1.ASN1SequenceInputStream.&lt;init&gt;(Unknown Source)
  oracle.security.crypto.cert.PKCS12.input(PKCS12.java:166)
  oracle.security.crypto.cert.PKCS12.&lt;init&gt;(PKCS12.java:135)
  oracle.security.pki.OracleKeyStoreSpi.load(Unknown Source)
  oracle.security.pki.OracleKeyStoreSpi.engineLoad(Unknown Source)
  oracle.security.pki.OracleSSOKeyStoreSpi.engineLoad(Unknown Source)
  oracle.security.pki.OracleSecretStore.load(Unknown Source)
  
  </code></pre>
  <p>I have tried the usual, using another wallet or checking that the access rights are in order but nothing seems to yield a different result.
  Any suggestion or information about how this library works would be appreciated since I've had a hard time finding documentation for this oracle.security.pki (orapki for short).</p>
  <p>Thanks in advance.</p>