Fixed check for ssl key file presence.
Reordered command line arguments.