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
@trungie

This comment has been minimized.

Show comment
Hide comment
@trungie

trungie Feb 28, 2014

This saved me. Thanks.

trungie commented Feb 28, 2014

This saved me. Thanks.

@Ian4101

This comment has been minimized.

Show comment
Hide comment
@Ian4101

Ian4101 Apr 1, 2014

Yep - worked for me - thanks!

Ian4101 commented Apr 1, 2014

Yep - worked for me - thanks!

@startflowing

This comment has been minimized.

Show comment
Hide comment
@startflowing

startflowing Apr 8, 2014

Yes, thank you.

How I hate the AusKey registration/install process....

startflowing commented Apr 8, 2014

Yes, thank you.

How I hate the AusKey registration/install process....

@Rob2037

This comment has been minimized.

Show comment
Hide comment
@Rob2037

Rob2037 Apr 25, 2014

This is a great solution

Rob2037 commented Apr 25, 2014

This is a great solution

@matthewpalmer

This comment has been minimized.

Show comment
Hide comment
@matthewpalmer

matthewpalmer commented Apr 25, 2014

Thanks!

@griv

This comment has been minimized.

Show comment
Hide comment
@griv

griv May 2, 2014

thanks!

griv commented May 2, 2014

thanks!

@ibcom

This comment has been minimized.

Show comment
Hide comment
@ibcom

ibcom commented May 11, 2014

Thanks!

@benjamin-hull

This comment has been minimized.

Show comment
Hide comment
@benjamin-hull

benjamin-hull Jun 13, 2014

Phew - thanks. I had to allow both authentication.business.gov.au and auskey.abr.gov.au (for the initial AusKey install) to run in unsafe mode.

What a crappy setup: "Yes, by all means have access to my filesystem". Yuck.

benjamin-hull commented Jun 13, 2014

Phew - thanks. I had to allow both authentication.business.gov.au and auskey.abr.gov.au (for the initial AusKey install) to run in unsafe mode.

What a crappy setup: "Yes, by all means have access to my filesystem". Yuck.

@cabletie

This comment has been minimized.

Show comment
Hide comment
@cabletie

cabletie Sep 27, 2014

Thanks. Worked for me.

cabletie commented Sep 27, 2014

Thanks. Worked for me.

@kouky

This comment has been minimized.

Show comment
Hide comment
@kouky

kouky Oct 8, 2014

This gist has been saving my ass all year 👍

kouky commented Oct 8, 2014

This gist has been saving my ass all year 👍

@shaynem

This comment has been minimized.

Show comment
Hide comment
@shaynem

shaynem Oct 29, 2014

cheers, every three months I come across a different problem and this has been one of them!

shaynem commented Oct 29, 2014

cheers, every three months I come across a different problem and this has been one of them!

@monofonik

This comment has been minimized.

Show comment
Hide comment
@monofonik

monofonik commented Nov 12, 2014

Legend.

@toddheslin

This comment has been minimized.

Show comment
Hide comment
@toddheslin

toddheslin Dec 11, 2014

Thanks mate

toddheslin commented Dec 11, 2014

Thanks mate

@JamesGreenAU

This comment has been minimized.

Show comment
Hide comment
@JamesGreenAU

JamesGreenAU commented Feb 3, 2015

Nice one.

@phantomwhale

This comment has been minimized.

Show comment
Hide comment
@phantomwhale

phantomwhale Mar 14, 2015

FFS - thank you - and how the hell did this system ever make production. If this were a commercial venture, it would be bankrupt requiring users to jump through these hoops...

phantomwhale commented Mar 14, 2015

FFS - thank you - and how the hell did this system ever make production. If this were a commercial venture, it would be bankrupt requiring users to jump through these hoops...

@flareofghast

This comment has been minimized.

Show comment
Hide comment
@flareofghast

flareofghast Apr 23, 2015

Thanks very much, just migrated to Mac and this solved my issue.

flareofghast commented Apr 23, 2015

Thanks very much, just migrated to Mac and this solved my issue.

@DarylWM

This comment has been minimized.

Show comment
Hide comment
@DarylWM

DarylWM May 10, 2015

Thanks Warner.

DarylWM commented May 10, 2015

Thanks Warner.

@jverban

This comment has been minimized.

Show comment
Hide comment
@jverban

jverban commented May 19, 2015

Thanks

@raymondbutcher

This comment has been minimized.

Show comment
Hide comment
@raymondbutcher

raymondbutcher commented Jun 10, 2015

Thank you.

@tbuckel

This comment has been minimized.

Show comment
Hide comment
@tbuckel

tbuckel commented Jun 18, 2015

Cheers!

@vjpr

This comment has been minimized.

Show comment
Hide comment
@vjpr

vjpr Jul 28, 2015

Thanks!!!

vjpr commented Jul 28, 2015

Thanks!!!

@danrossi

This comment has been minimized.

Show comment
Hide comment
@danrossi

danrossi Jul 30, 2015

This didn't work. I've tried to migrate my files back to OSX from my windows Vmware as OSX has been broken for a while. It says I don't have a login after I pass that read only error.

danrossi commented Jul 30, 2015

This didn't work. I've tried to migrate my files back to OSX from my windows Vmware as OSX has been broken for a while. It says I don't have a login after I pass that read only error.

@MrKistic

This comment has been minimized.

Show comment
Hide comment
@MrKistic

MrKistic Aug 18, 2015

Bloody ripper, thanks. ATO be damned for this schemozzle. Unsafe mode saved me on my new Yosemite install.

MrKistic commented Aug 18, 2015

Bloody ripper, thanks. ATO be damned for this schemozzle. Unsafe mode saved me on my new Yosemite install.

@romanrev

This comment has been minimized.

Show comment
Hide comment
@romanrev

romanrev Sep 20, 2015

Awesome gist, thanks heaps for that! Helped me immensely when for some reason the Firefox browser stopped working for this site, and I have now switched over finally to Safari

romanrev commented Sep 20, 2015

Awesome gist, thanks heaps for that! Helped me immensely when for some reason the Firefox browser stopped working for this site, and I have now switched over finally to Safari

@ipixel

This comment has been minimized.

Show comment
Hide comment
@ipixel

ipixel Sep 22, 2015

F*cking outstanding. Saved me after finding out the ECI Client was no longer supported (and thus hadn't 'actually' received our last activity statement - yet got a receipt ID), but was never notified.

ipixel commented Sep 22, 2015

F*cking outstanding. Saved me after finding out the ECI Client was no longer supported (and thus hadn't 'actually' received our last activity statement - yet got a receipt ID), but was never notified.

@filmackay

This comment has been minimized.

Show comment
Hide comment
@filmackay

filmackay Oct 16, 2015

ATO - get with the plan. Chrome and Java no longer.. time to move on!

filmackay commented Oct 16, 2015

ATO - get with the plan. Chrome and Java no longer.. time to move on!

@thesettler

This comment has been minimized.

Show comment
Hide comment
@thesettler

thesettler Nov 20, 2015

Superstar... worked like a dream'

thesettler commented Nov 20, 2015

Superstar... worked like a dream'

@davidtkearns

This comment has been minimized.

Show comment
Hide comment
@davidtkearns

davidtkearns Mar 18, 2016

Super helpful. Thank you so much

davidtkearns commented Mar 18, 2016

Super helpful. Thank you so much

@nqdba

This comment has been minimized.

Show comment
Hide comment
@nqdba

nqdba Mar 23, 2016

Great, some minor issue with new yosemite install - could only select 'always allow' in 'Manage Website Settings' (which is under Plugin Settings' in yosemite. Also had to rename the preferences.xml to preferences.old in the Auskey directory to stop the 4402 error. Thanks for the help.

nqdba commented Mar 23, 2016

Great, some minor issue with new yosemite install - could only select 'always allow' in 'Manage Website Settings' (which is under Plugin Settings' in yosemite. Also had to rename the preferences.xml to preferences.old in the Auskey directory to stop the 4402 error. Thanks for the help.

@thiagofigueiro

This comment has been minimized.

Show comment
Hide comment
@thiagofigueiro

thiagofigueiro Mar 24, 2016

Looks like everybody landed here for the solution! Good on you and thanks for sharing.

I do wonder, though. Am I the only one bothered to run java in unsafe mode? I don't want java to have access to my file system, let alone the government.

thiagofigueiro commented Mar 24, 2016

Looks like everybody landed here for the solution! Good on you and thanks for sharing.

I do wonder, though. Am I the only one bothered to run java in unsafe mode? I don't want java to have access to my file system, let alone the government.

@heartfelttech

This comment has been minimized.

Show comment
Hide comment
@heartfelttech

heartfelttech Apr 5, 2016

Worked for me thanks!

heartfelttech commented Apr 5, 2016

Worked for me thanks!

@jwaring

This comment has been minimized.

Show comment
Hide comment
@jwaring

jwaring Apr 26, 2016

Thanks Godfrey. We also had to uninstall the previously installed AUSkey (open ~/Library/Application Support/AUSKey/Uninstaller/Uninstall.app). The credentials were preserved.

jwaring commented Apr 26, 2016

Thanks Godfrey. We also had to uninstall the previously installed AUSkey (open ~/Library/Application Support/AUSKey/Uninstaller/Uninstall.app). The credentials were preserved.

@oden65

This comment has been minimized.

Show comment
Hide comment
@oden65

oden65 Apr 27, 2016

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

oden65 commented Apr 27, 2016

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

@poachednewt

This comment has been minimized.

Show comment
Hide comment
@poachednewt

poachednewt Jun 29, 2016

Fantastic, concise, complete and more importantly IT WORKS

poachednewt commented Jun 29, 2016

Fantastic, concise, complete and more importantly IT WORKS

@brianfoody

This comment has been minimized.

Show comment
Hide comment
@brianfoody

brianfoody commented Sep 30, 2016

Legend

@jessedc

This comment has been minimized.

Show comment
Hide comment
@jessedc

jessedc 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'.

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

This comment has been minimized.

Show comment
Hide comment
@DanielTillett

DanielTillett Oct 19, 2016

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

DanielTillett commented Oct 19, 2016

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

@nikkibr

This comment has been minimized.

Show comment
Hide comment
@nikkibr

nikkibr 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

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

This comment has been minimized.

Show comment
Hide comment
@benbve

benbve Apr 25, 2017

Thanks. Was very helpful.

benbve commented Apr 25, 2017

Thanks. Was very helpful.

@DanielTillett

This comment has been minimized.

Show comment
Hide comment
@DanielTillett

DanielTillett 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.

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.

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