Fixed setting private key.

Fixed pathing issue with setting the private key. I was not using the base_path()