Skip to content

Commit

Permalink
Recognize Step-Up/SGC EKUs as being TLS certificates
Browse files Browse the repository at this point in the history
  • Loading branch information
pzb committed Feb 2, 2016
1 parent af78282 commit dbf6ef2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/certlint/cablint.rb
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,12 @@ def self.lint(der)
end
end

if eku.empty? || eku.include?('TLS Web Server Authentication') || eku.include?('Any Extended Key Usage')
# So many ways to indicate an in-scope certificate
if eku.empty? || \
eku.include?('TLS Web Server Authentication') || \
eku.include?('Any Extended Key Usage') || \
eku.include?('Netscape Server Gated Crypto') || \
eku.include?('Microsoft Server Gated Crypto')
messages << 'I: TLS Server certificate identified'
cert_type_identified = true
# OK, we have a "SSL" certificate
Expand Down

0 comments on commit dbf6ef2

Please sign in to comment.