code: func ocspdumpMain(args []string, c cli.Config) error {
  	if c.DBConfigFile == "" {
  		return errors.New("need DB config file (provide with -db-config)")
  	}
  
  	db, err := dbconf.DBFromConfig(c.DBConfigFile)
  	if err != nil {
  		return err
  	}
  
  	dbAccessor := sql.NewAccessor(db)
  	records, err := dbAccessor.GetUnexpiredOCSPs()
  	if err != nil {
  		return err
  	}
  	for _, certRecord := range records {
  		fmt.Printf("%s\n", base64.StdEncoding.EncodeToString([]byte(certRecord.Body)))
  	}
  	return nil
  }
docs: // ocspdumpMain is the main CLI of OCSP dump functionality.