ronin-rb / ronin-db-activerecord

ActiveRecord backend for the Ronin Database
https://ronin-rb.dev
GNU Lesser General Public License v3.0
7 stars 5 forks source link

Add a `Cert` model #38

Closed postmodern closed 1 year ago

postmodern commented 1 year ago

Add a Cert model for storing SSL/TLS certificate information. The model should store the serial number, common_name, and other subject fields. In order to store the data in a normalized fashion, we will also need CertSubject, CertIssuer, and CertSubjectAltName models as well. The Cert module should also have an .import class method which accepts an OpenSSL::X509::Certificate object.

postmodern commented 1 year ago

Implemented by ad7a8fd.