Never mind, i searched for the error and found the answer.
For the benefit of anyone else, ensure that you DO copy the ----BEGIN PRIVATE KEY--- and -----END PRIVATE KEY------ bits when pasting into the router settings. The guide i linked says not to do this, but clearly it is needed :D