Private key and certificate chain now read from stdin.