Forgot that the cert and key options are required.
Fixed an example.
Start using the new Hash syntax.