Skip to content

Commit 3f371ca

Browse files
sabinthomasdougwilson
authored andcommitted
docs: update reference to credentials object
fixes #1874 closes #1875
1 parent f3407a6 commit 3f371ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ it uses one of the predefined SSL profiles included. The following profiles are
248248
https://s3.amazonaws.com/rds-downloads/rds-combined-ca-bundle.pem
249249

250250
When connecting to other servers, you will need to provide an object of options, in the
251-
same format as [crypto.createCredentials](http://nodejs.org/api/crypto.html#crypto_crypto_createcredentials_details).
251+
same format as [tls.createSecureContext](https://nodejs.org/api/tls.html#tls_tls_createsecurecontext_options).
252252
Please note the arguments expect a string of the certificate, not a file name to the
253253
certificate. Here is a simple example:
254254

0 commit comments

Comments
 (0)