I have an autoPKG, autoPKGr, JSSimporter setup I just installed. The pkgs are showing up in Casper admin colored red. Any ideas on what is wrong and what I might do about it? Thanks.
@kyoung how many DP's do you have?
What do you mean by DP.
@kyoung Distribution Point.
one
@kyoung Ah ok, red is showing missing files. It can happen when not updating your Master DP as that is what Casper Admin checks.
Is Casper Admin open whislt running AutoPKG?
Yes
Just ran autopkg again and this is what I got
.
@kyoung Casper Admin shouldn't be open AFAIK.
Are you using a self signed SSL cert on this JSS?
I wish I knew for sure but I think so.
I just quit Admin and tried running autopkg again. Same error.
Is there some way to update the master DP that would help in this situation?
Check out the optional flags that you may have to enter in your blahblah as documented at: https://github.com/sheagcraig/JSSImporter#additional-preferences
JSS_VERIFY_SSL: Boolean (True or False). Whether or not to verify SSL traffic. Defaults to True, and recommended. (See below). JSS_MIGRATED: Boolean. If you have "migrated" your JSS (uses the web interface to edit scripts), set to True. Defaults to False. This only really comes into play if you have an AFP or SMB share and have migrated. JSS_SUPPRESS_WARNINGS: Boolean. If you are getting a lot of warnings from urllib3 or requests when running JSSImporter, you can disable the warnings by setting this to True. Defaults to False. Use at your own risk!
Looks like they are still working out SSL auth issues related to some changes made in the JSS.
https://github.com/sheagcraig/JSSImporter
your can try defaults write com.github.autopkg JSS_VERIFY_SSL -bool false
read the SSL area of his post.
OK. I think that will take me awhile so I will respond when I have an answer. Thanks.
When using a JSS with a self-signed certificate, you can import the Casper server's root CA onto the machine you're running AutoPkgr on in order to make the self-signed certificate trusted by both Python and AutoPkgr.
I have a post on how to do this available from here:
https://derflounder.wordpress.com/2014/12/24/adding-a-self-signed-casper-root-ca-as-a-trusted-root/
Thanks for the link @rtrouton . Also, it looks like JSSImporter was updated today:
Dire Weasel
Sorry I have taken so long to respond but our school was on our 2 week spring break.
@rtrouton has a procedure at derflounder that cleared up the original problem but now I have a new error.
Any ideas what I did wrong?
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
