Mac keychain

I have an odd issue. I am trying to export a certificate and key to a p12 file using the export feature in key chain. When it asks for the "login" password it does not take the password. The mac is running 10.11.1 (15B42)

I actually re-loaded the mac using the recovery image and get the same result. I was able to export from another mac just fine to a p12 file. The mac working is running 10.11 (15A284)

Does this sound like an OS X El Capitan keychain bug?
Robert SaylorSenior DeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Kash2nd Line EngineerCommented:
sounds like a corrupt keychain to me.
or a keychain which had a different password and it got chained so it might have got locked.
can you export any entry at all ?

may be time to backup the keychain and create a new keychain.
Davis McCarnOwnerCommented:
Its a known problem; but, usually fairly easy to fix:
Robert SaylorSenior DeveloperAuthor Commented:
I actually re-loaded the mac. Formatted the drive so that can't be the issue.
5 Ways Acronis Skyrockets Your Data Protection

Risks to data security are risks to business continuity. Businesses need to know what these risks look like – and where they can turn for help.
Check our newest E-Book and learn how you can differentiate your data protection business with advanced cloud solutions Acronis delivers

Which password are you failing on?  Is it the password that you create to protect the key chain, or the login password used to encrypt and protect the key chain itself?  When you access the certificates, can you see the data?
Robert SaylorSenior DeveloperAuthor Commented:
I did not create a password for the keychain it is failing on the "login" password.

1. I created a CSR
2. Sent that to apple
3. downloaded the certificate from apple
4. Export the certificate and key as a p12
5. when asked to protect the exported items with a password I click Ok (no password entered)
6. Then keychain access asks for the "To allow this, enter the login keychain password". I type in the correct password and click Allow or Always Allow but it does not do anything. Only clicking on Deny will close the window but the p12 is not created.

I can click on the lock icon to lock keychain with the same password and it will unlock.

I completely re-loaded this mac mini so it is as fresh as it comes.

On my laptop mac book pro it would with no issues.
Robert SaylorSenior DeveloperAuthor Commented:
system.log displays this when I click Allow:

SecurityAgent[1030]: Ignoring user action since the dialog has received events from an untrusted source.
Robert SaylorSenior DeveloperAuthor Commented:
This is the same error I get (un-resolved at apple's site)
Davis McCarnOwnerCommented:
Did you try it in Safe Mode as the poster remarked?
Robert SaylorSenior DeveloperAuthor Commented:
Wow, it works in safe mode. I only installed 1 additional program after re-loading the mac and was team viewer. Wonder if that is conflicting with it.
Davis McCarnOwnerCommented:
I can see TeamViewer messing with security, can't you?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Robert SaylorSenior DeveloperAuthor Commented:
well on my laptop I have teamviewer also and key chain works. I am going to get the system to baseline with no extra software.
Robert SaylorSenior DeveloperAuthor Commented:
Teamviewer was causing the issue. After removing teamviewer key chain worked.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Mac OS X

From novice to tech pro — start learning today.