   try
     this.body = yield RevokedCert.find().exec()
     #this.body = revokedcertDoc
-    
+
   catch err
     utils.logAndSetResponse this, 500, "Could not fetch the list of revoked certificates: #{err}", 'error'
 

  catch e
    logger.error "Could not remove entry in revocation list by ID # via the API: #{e.message}"
    this.body = e.message
    this.status = 500

  Keystore.findOne (err, keystoreDoc) ->
    return callback err, null if err

    # if the key is encrypted but no passphrase is supplied, return  false instantly
    if /Proc-Type:.*ENCRYPTED/.test(keystoreDoc.key) and (not keystoreDoc.passphrase? or keystoreDoc.passphrase.length == 0)
      return callback null, false
