-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dod_certs_to_mobileconfig NoneType error #1
Comments
Looks like they changed how they are bundling their certificates. Indead of PEM, they are using DER. Issue #1
@pittjl Give it a try now. Had to make some adjustments for it to work with latest DOD bundle. |
Now a NoneType error in a different location. Attempting to get .zip file from https://dl.dod.cyber.mil/wp-content/uploads/pki-pke/zip/unclass-certificates_pkcs7_DoD.zip |
I believe this issue has been resolved... ran the script today and it generated profile. |
I know this was last updated a few years ago, but I tried it out today and got an error. This is using python 3.11. I am able to curl the zip file without issue.
dod_certs_mobileconfig % python3 dod_certs_to_mobileconfig.py
Attempting to get .zip file from https://dl.dod.cyber.mil/wp-content/uploads/pki-pke/zip/unclass-certificates_pkcs7_DoD.zip
Traceback (most recent call last):
File "/Users/jlp/code/dodcerts/macos/dod_certs_mobileconfig/dod_certs_to_mobileconfig.py", line 254, in
main()
File "/Users/jlp/code/dodcerts/macos/dod_certs_mobileconfig/dod_certs_to_mobileconfig.py", line 210, in main
pem_bundle_file, pem_title = find_p7b_file(tempdir)
^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: cannot unpack non-iterable NoneType object
The text was updated successfully, but these errors were encountered: