Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Access the ATO Business Portal using AusKey Mac OS X Mountain Lion
  • Install the latest JRE from Oracle
  • In the Java Control Panel, go to the Security tab and make sure 'Enable Java Content' is checked
  • Open Safari
  • Go to the ATO Business portal site https://bp.ato.gov.au/BpStatics/homepage.htm
  • Click Login
  • A dialog will apear asking you 'Do you want to trust the website “authentication.business.gov.au” to use the “Java” plug-in?'
  • Click 'Trust'
  • Now you will be asked 'Do you want to run this application?'
  • Click 'Run'
  • Another dialog will appear asking you to 'Allow access to the following application from this website?'
  • Click 'Allow'
  • You will now get the following error message:
An error has occurred with a result code of 4402.
[message=Read-only files cannot be used as keystores: /Users/warner/Library/Application Support/AUSkey/keystore.xml, errorCode=4402]
  • NOTE: Changing the file permissions on the keystore will not help, the ATO requires access to the file system!
  • To allow file system access, select Safari -> Prefereces... from the menu
  • Go to the Security tab and click 'Manage Website Settings...'
  • On the left-hand menu select Java
  • In the right-hand pane you will see authentication.business.gov.au, in the drop-down menu select 'Run in Unsafe Mode'
  • A dialog will appear asking 'Are you sure you want to trust the website “authentication.business.gov.au” to run “Java” in unsafe mode
  • Click 'Trust'
  • Click 'Done' and exit Preferences
  • Open the ATO Business portal site again https://bp.ato.gov.au/BpStatics/homepage.htm
  • Now you will be asked 'Do you want to run this application?'
  • Click 'Run'
  • Another dialog will appear asking you to 'Allow access to the following application from this website?'
  • Click 'Allow'
  • You should now be able to select your AusKey and login to the Business Portal
@nevros
Copy link

nevros commented Apr 27, 2016

Well done :+1 showed as #1 hit on google for a good reason :)

@poachednewt
Copy link

poachednewt commented Jun 29, 2016

Fantastic, concise, complete and more importantly IT WORKS

@brianfoody
Copy link

brianfoody commented Sep 30, 2016

Legend

@jessedc
Copy link

jessedc commented Oct 18, 2016

If you're using Safari 10 (most recent version as of posting) you will need to hold down the option (alt) key when clicking the drop-down menu on the right hand side of authentication.business.gov.au, and un tick 'Run in Safe Mode'.

@DanielTillett
Copy link

DanielTillett commented Oct 19, 2016

jessedc thanks for the tip - this was driving me crazy! It still is a security nightmare though.

@nikkibr
Copy link

nikkibr commented Jan 9, 2017

Thank you - every quarter it takes longer to log in to portal than it does to do my GST! followed all your tips but now i am getting error message An error has occurred with a result code of 4303 instead of 4402. I have reinstalled java

@benbve
Copy link

benbve commented Apr 25, 2017

Thanks. Was very helpful.

@DanielTillett
Copy link

DanielTillett commented Oct 19, 2017

This guide still works for Safari 11, but check that you don’t have an ad-blocker running. I ran into the problem that while I could log in to the ATO site I could actually see my activity statement. Once I turn off my ad-blocker it worked.

The tricks required to get the ATO site to work are extraordinary. Like nikkibr it takes me longer to remember how to log in than actually fill in the form.

@Wincott
Copy link

Wincott commented Sep 21, 2018

Safari 12 and Firefox 62.0 for the Mac no longer support Java plugins. Therefore you cannot do the 'Run in Safe Mode' crap anymore. I had to download and install an older version of Firefox 52.9.0, immediately switch off auto update, just so I can do business with our beloved ATO. This is Sept 2018. Pathetic ATO! I understand Windows users cannot use the Edge browser either. Nor is Chrome / Chromium supporting Java. WTF! There is a reason modern browsers are no longer supporting Java. Get with the program ATO.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment