Note that there are some explanatory texts on larger screens.

plurals
  1. POChecking provisioning profile's developer certificate validity
    primarykey
    data
    text
    <p>I want to allow customers to upload their own provisioning profile, including icons, so that I can make them a custom version of my app on the fly, which they can then publish.</p> <p>However, I'm having a little trouble validating the provisioning profile. In particular, I want to check whether the DeveloperCertificate is actually a valid certificate. The profile looks something like this:</p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt; &lt;plist version="1.0"&gt; &lt;dict&gt; &lt;key&gt;ApplicationIdentifierPrefix&lt;/key&gt; &lt;array&gt; &lt;string&gt;ABCDEFGH&lt;/string&gt; &lt;/array&gt; &lt;key&gt;CreationDate&lt;/key&gt; &lt;date&gt;2012-03-28T11:17:23Z&lt;/date&gt; &lt;key&gt;DeveloperCertificates&lt;/key&gt; &lt;array&gt; &lt;data&gt; MIIFajCCBFKgAwIBAgIIddUra9YprMQwDQYJKoZIhvcNAQEFBQAwgZYxCzAJ BgNVBAYTAlVTMRMwEQYDVQQKDApBcHBsZSBJbmMuMSwwKgYDVQQLDCNBcHBs ZSBXb3JsZHdpZGUgRGV2ZWxvcGVyIFJlbGF0aW9uczFEMEIGA1UEAww7QXBw ... &lt;/data&gt; &lt;/array&gt; ... &lt;/dict&gt; </code></pre> <p>So, I extract the certificate(s) and then want to check them, preferably using an <code>openssl</code> command. What is the encryption used for these certificates, and how do I verify them using openssl? I would think that this uses pkcs12, but trying that gives me an error:</p> <pre><code>$ openssl pkcs12 -noout -in testcertificate 140653159306912:error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag:tasn_dec.c:1319: 140653159306912:error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error:tasn_dec.c:381:Type=PKCS12 </code></pre> <p>Can anyone point me in the right direction? It is essential that I can somehow verify developer certificates' validity.</p> <p>Thanks</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload