Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

safari and amazon - toxic - needs a fix

My Safari browser seems to have become entwined with Amazon.com in a way that is destroying functionality on the Amazon website. I've confirmed that the problem is not on Amazon's end, and Apple Support has been unable to resolve the problem. I believe the problem is that something has attached itself to Safari that is linking it in a toxic way to Amazon. Anyone ever hear of this? Check it out: After browsing Amazon briefly the links stop working and I'm given a generic "sorry we're having a problem but we're working on it" screen, after which I can no longer access Amazon unless I restart the computer.


And most strangely, even if I start with the secure (https) address, I end up with Safari telling me the website certificate is not valid. The certificate turns out to be www.amazon.com.br. This is Amazon in Portuguese, for the Brazilian market! Today I was completely unable to log in, although there was nothing wrong with my account. The Amazon rep got me running again, but suggested I switch to Firefox for Amazon, which he claims is more compatible.


So far I've emptied the cache and deleted Amazon cookies many times. I've also reset the system management controller. Any other suggestions? Should I bite the bullet and reset Safari?


Is there a way to look into the background of Safari and see if amazon.com.br is hiding there somewhere? Is there a scan I could run to see if there's malware that's causing the problem?


And lastly, should I simply download Firefox in order to browse Amazon only? I'd really like to solve the problem, not put a bandaid on it.


Thanks for any wisdom. I browse Amazon a lot so this is really a pain.

iMac, Mac OS X (10.6.8)

Posted on Feb 1, 2013 11:04 AM

Reply
62 replies

Feb 1, 2013 10:25 PM in response to MilosA

From the menu bar, select

System Preferences Network

If the preference pane is locked, click the lock icon in the lower left corner and enter your password to unlock it. Then click the Advanced button and select the Proxies tab. If any proxy options are selected, deselect them. You don’t need to change the bypass or FTP settings. Click OK and then Apply. Test. The result may be that you can't connect to any web server, so be prepared to restore the previous settings if that happens.

Feb 2, 2013 8:51 AM in response to MilosA

Back up all data.


Launch the Keychain Access application in either of the following ways:


☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)


☞ In the Finder, select Go Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.


Select System from the Keychain list on the left side of the Keychain Access window. Then select Certificates from the Category list. A list of certificates appears on the right. From that list, delete any item that has a red "X" badge on its icon, indicating that the certificate is invalid or untrusted. Also delete anything with "Amazon" in the name. You'll be prompted for your administrator password.


Quit Keychain Access. If you made any changes, test.


If the above steps don't resolve the problem, continue as follows.


Select the text below (not including the blank space at the end of the line), then copy it to the Clipboard (command-C):


www.amazon.com


Launch the Network Utility application in the same way you launched Keychain Access.


Select the Lookup tab and paste (command-V) into the address field. Press return. Post the output that appears below – the text, please, not a screenshot.


Select the Ping tab and do the same. The operation will time out, because Amazon doesn't respond to pings. I'm only interested in the address at the end of the output.

Feb 2, 2013 9:22 AM in response to MilosA

Linc,


It wasn't such a big deal after all. I did what you asked. Here's the data from the Network Utility lookup:



; <<>> DiG 9.6-ESV-R4-P3 <<>> www.amazon.com +multiline +nocomments +nocmd +noquestion +nostats +search

;; global options: +cmd

www.amazon.com. 889 IN A 72.21.215.232


Regarding Keychain, I deleted two certificates with a red "X" on them (Amazon was not listed at all). The ones I deleted were:


com.apple.kerberos.kdc

com.apple.systemdefault


Both of these had an expiration date of March 2031.


I still cannot log into Amazon, but I am waiting to contact them until we follow through on these steps.


Thanks.


M

Feb 2, 2013 12:36 PM in response to Linc Davis

Awesome. You found the problem.


Are you saying that Time Machine will give me the option to pinpoint and restore just an earlier version of the System keychain? Or am I required to restore the entire hard drive to an earlier version? Will I have to do any manual backing-up?


I don't know when the corruption occurred. I would have to go back at least three months to be sure. The process of restoring from a backup is new to me. Is there something I can read to guide me along (so I don't keep bothering you for the nuts and bolts)?


Last question: if I reinstall and reupdate OS X, is it like starting with a brand new computer with nothing on it? Or will it all still be there in Time Machine?

Feb 2, 2013 2:28 PM in response to MilosA

Let's try this first.


If you have more than one user account, you must be logged in as an administrator to carry out these instructions.


Triple-click anywhere in the line below to select it:


sudo systemkeychain -f -C


Copy the selected text to the Clipboard (command-C).



Launch the Terminal application in the same way you launched Keychain Access.


Paste (command-V) into the Terminal window. You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. You don't need to post the warning. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.

Post any lines of output that appear below what you entered — the text, please, not a screenshot.


Reboot, then launch Keychain Access again and check the System keychain. Are there still any invalid certificates? If not, try Amazon again.

safari and amazon - toxic - needs a fix

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.