lib/SslOptions.js
function() {
    var result = {}

    _.extend(result, this)

    result.cert = fs.readFileSync(this.serverCertPath)
    result.key = fs.readFileSync(this.serverKeyPath)
    if (this.trustedCertsPaths) {
      result.ca = this._loadCertificates(this.trustedCertsPaths)
    }

    if (this.serverKeyPassphrase) {
      result.passphrase = this.serverKeyPassphrase
      delete this.serverKeyPassphrase
    }

    return result
  }
function() {
    var result = {}

    _.extend(result, this)

    result.cert = fs.readFileSync(this.serverCertPath)
    result.key = fs.readFileSync(this.serverKeyPath)
    if (this.trustedCertsPaths) {
      result.ca = this._loadCertificates(this.trustedCertsPaths)
    }

    if (this.serverKeyPassphrase) {
      result.passphrase = this.serverKeyPassphrase
      delete this.serverKeyPassphrase
    }

    return result
  }
***************************************************************************
@method asHttpsOptions
@description Transforms the options managed by ``SslOptions`` into a format
that is appropriate for ``https.createServer``
@returns {Object}