Skip to content

Instantly share code, notes, and snippets.

@dcai
Forked from warnergodfrey/gist:7512051
Last active October 26, 2017 03:41
Show Gist options
  • Save dcai/10882484 to your computer and use it in GitHub Desktop.
Save dcai/10882484 to your computer and use it in GitHub Desktop.
Setup ATO AusKey for mac
  • 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment