Jenkins not saving P12 certificate from Google Service Account from private key
267 views
Skip to first unread message
Andrew Novinger
unread,
Nov 18, 2015, 1:45:49 PM11/18/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jenkins Users
For some reason Jenkins lost the original p12 certificate from Google for the API Service account to upload to google. I have recreated a new P12 certificate, and downloaded it my local machine. When I try to add the certificate to the account, it shows up, when I hit save and reopen the credentials, the certificate is missing. I have tried removing the Google Plugin, removing all the config files I could find for it, and reinstall plugin, and same result as before. Any other thoughts or suggestions to try to get this to work.
Christopher Orr
unread,
Nov 18, 2015, 7:55:23 PM11/18/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jenkins...@googlegroups.com
Do you see the files being created in $JENKINS_HOME/credentials/gauth
(that's from memory, so not 100% sure on the path)?
Are those gauth p12 filenames listed in $JENKINS_HOME/credentials.xml?
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jenkins...@googlegroups.com
Weird. There should be `emailAddress` and `p12KeyFile` tags within
`serviceAccountConfig`.
I see that v0.4 of the plugin came out recently which, from a quick look
at the code changes, makes some changes in how the data is stored — but
I tested with 0.3, upgrading to 0.4, and re-saving with 0.4 and
everything worked fine (and there were no data changes on disk).
Do you see any errors in the Jenkins logs when you save the credential?
Does the .p12 file get saved to $JENKINS_HOME/gauth?
Regards,
Chris
> --
> You received this message because you are subscribed to the Google
> Groups "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to jenkinsci-use...@googlegroups.com > <mailto:jenkinsci-use...@googlegroups.com>.
> To view this discussion on the web visit