diff --git a/lib/options.js b/lib/options.js index 56c7a6e..583b0bc 100755 --- a/lib/options.js +++ b/lib/options.js @@ -106,6 +106,9 @@ function modernize(legacy) { if (legacy.secure.hasOwnProperty('certPath')) { modernized.credentials.certPath = legacy.secure.certPath; } + if (legacy.secure.hasOwnProperty('secureProtocol')) { + modernized.credentials.secureProtocol = legacy.secure.secureProtocol; + } } // else no credentials were provided // construct `interfaces`