You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've posted some of this on the currently open PR #22 , but it got deleted since it doesnt belong there.
Maybe it belongs here and somebody can offer some help.
As I checked out the Pull Request I wanted to use the script like this:
python3 iosCertTrustManager.py -a ~/.mitmproxy/mitmproxy-ca-cert.pem -y
But it fails with:
subject=CN = mitmproxy, O = mitmproxy
Importing to /Users/p.querner/Library/Developer/CoreSimulator/Devices/A7985F82-4E84-495E-A6CB-E044927B1F02/data/private/var/protected/trustd/private/TrustStore.sqlite3
Traceback (most recent call last):
File "/Users/p.querner/projects/apps/ios/ADVTrustStore/iosCertTrustManager.py", line 796, in <module>
program.run()
File "/Users/p.querner/projects/apps/ios/ADVTrustStore/iosCertTrustManager.py", line 785, in run
self.import_to_simulator(args.certificate_file, args.truststore)
File "/Users/p.querner/projects/apps/ios/ADVTrustStore/iosCertTrustManager.py", line 691, in import_to_simulator
tstore.add_certificate(cert)
File "/Users/p.querner/projects/apps/ios/ADVTrustStore/iosCertTrustManager.py", line 507, in add_certificate
self._add_record(certificate.get_fingerprint(self._hash), certificate.get_subject_ASN1(),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/p.querner/projects/apps/ios/ADVTrustStore/iosCertTrustManager.py", line 404, in get_subject_ASN1
decoder.start(self._data)
File "/Users/p.querner/projects/apps/ios/ADVTrustStore/iosCertTrustManager.py", line 220, in start
raise Error('Expecting string instance.')
Error: Expecting string instance.
Hello,
I've posted some of this on the currently open PR #22 , but it got deleted since it doesnt belong there.
Maybe it belongs here and somebody can offer some help.
As I checked out the Pull Request I wanted to use the script like this:
python3 iosCertTrustManager.py -a ~/.mitmproxy/mitmproxy-ca-cert.pem -y
But it fails with:
Cert:
The cert was issued with mitmproxy.
Not sure what it means of if its related to the tool. If it isnt related, please close this issue.
The text was updated successfully, but these errors were encountered: