Bimi verified mark certificate setup

From CraftOS-dev/craftbot-agent-bundles · View interactive version

Bimi verified mark certificate setup is an AI agent skill from the GitHub repository CraftOS-dev/craftbot-agent-bundles. Source: https://bimigroup.org/ + DigiCert / Entrust VMC

How to use this skill

Skill file

<!--

Source: https://bimigroup.org/ + DigiCert / Entrust VMC

BIMI displays brand logo in Gmail / Yahoo / Apple Mail / Fastmail.

Requires DMARC at quarantine/reject pct=100 + SVG Tiny PS + VMC.

-->

BIMI + Verified Mark Certificate (VMC) Setup — SKILL

BIMI (Brand Indicators for Message Identification) displays your brand logo in supporting receivers' inbox. Hard requirements: DMARC at p=quarantine or p=reject with pct=100, an SVG Tiny PS profile logo, and a Verified Mark Certificate (VMC) from DigiCert ($1,500/yr) or Entrust ($1,800/yr).

When to use

Prerequisite: DMARC at p=quarantine; pct=100 (minimum) or p=reject. If you're not there, use deliverability-deep-spf-dkim-dmarc-bimi-arc skill first.

Setup

# CLI tools
brew install librsvg          # rsvg-convert for SVG inspection
npm i -g svg-validator        # SVG syntax check
pipx install svgcheck         # PSEUDO SVG checker — use BIMI Group's validator (web)

Online validators (no install):

VMC providers:

Common recipes

Recipe 1: Verify prerequisites with dig

DOMAIN="brand.com"

# DMARC must be quarantine or reject at pct=100
DMARC=$(dig +short TXT "_dmarc.${DOMAIN}" | tr -d '"')
echo "DMARC: $DMARC"
# Required: contains 'p=quarantine' OR 'p=reject', AND 'pct=100' (or no pct, which defaults to 100)

# SPF must exist
dig +short TXT "$DOMAIN" | grep -i 'v=spf1'

# DKIM (any selector signing your mail)
dig +short TXT "k1._domainkey.${DOMAIN}"

If p=none or pct<100, BIMI Inspector will fail. Fix DMARC first.

Recipe 2: Prepare SVG Tiny PS logo

Requirements:

Validate locally:

# Inspect SVG structure
svg-validator logo.svg

# Check no disallowed elements
grep -E '<(script|a |animate|foreignObject|image )' logo.svg && echo "FAIL — disallowed element" || echo "OK"

# Check file size
wc -c logo.svg
# Should be < 32768

Use the BIMI Group validator for definitive check (web-only):

https://bimigroup.org/bimi-generator/

Recipe 3: Host the SVG

# Host at HTTPS (HTTP not allowed)
# Must be reachable, CORS not required, MIME image/svg+xml

# Test
curl -I "https://brand.com/logo.svg"
# Expect: HTTP 200, content-type: image/svg+xml, content-length < 32768

# CDN tip — set far-future caching, immutable

Recipe 4: Procure VMC from DigiCert

Process:

  1. Visit https://www.digicert.com/tls-ssl/verified-mark-certificates
  2. Provide:
  1. SVG logo upload — DigiCert validates against your trademark image (must visually match)
  2. Wait 1-2 weeks for trademark vetting
  3. Receive vmc.pem file (X.509 certificate chain)

Cost: $1,499/yr (DigiCert), $1,795/yr (Entrust). No volume discount.

Recipe 5: Host the VMC PEM file

# Same HTTPS hosting as SVG
curl -I "https://brand.com/vmc.pem"
# Expect: HTTP 200, content-type: application/x-pem-file (or application/octet-stream)

Recipe 6: Publish BIMI DNS TXT record

default._bimi.brand.com.    TXT    "v=BIMI1; l=https://brand.com/logo.svg; a=https://brand.com/vmc.pem"

Fields:

Subdomain BIMI: separate record for marketing.brand.com, e.g.:

default._bimi.marketing.brand.com.    TXT    "v=BIMI1; l=https://brand.com/logos/marketing.svg; a=https://brand.com/vmc.pem"

(Same VMC works for parent + subdomains if domain SAN includes them.)

Recipe 7: Apple's BIMI variant — Common Mark Certificate (CMC) vs VMC

Apple Mail (iOS 16+, macOS 13+) accepts:

Most senders go VMC for the unmarked logo display. CMC is for very-early-stage brands without registered trademarks.

Recipe 8: Validate with BIMI Inspector

curl "https://api.bimigroup.org/v1/bimi-inspector?domain=brand.com&selector=default" \
  -H "Accept: application/json" | jq '.'

Or web UI: https://bimiinspector.com/?domain=brand.com

Expected:

{
  "domain": "brand.com",
  "selector": "default",
  "dmarc": {"valid": true, "policy": "reject", "pct": 100},
  "svg": {"valid": true, "url": "https://brand.com/logo.svg", "size": 12345},
  "vmc": {"valid": true, "url": "https://brand.com/vmc.pem", "expires": "2027-06-09", "trademark": "REGISTERED"},
  "result": "PASS"
}

Recipe 9: Live test in inbox

Send a test email from the BIMI-configured domain to:

Critical: logos only show when the message passes DMARC at the active sender's domain. If you're sending from mail.brand.com but BIMI is published only at brand.com (with sp=none), Gmail won't display the subdomain logo without a subdomain BIMI record.

Recipe 10: VMC renewal

VMC is annual. Calendar reminder 60 days before expiry. Renewal process: re-submit trademark proof + domain proof, re-issue PEM, update hosting. The DNS BIMI record doesn't change (URL stays same), only the PEM contents.

# Check VMC expiry
openssl x509 -in vmc.pem -noout -enddate
# notAfter=Jun  9 23:59:59 2027 GMT

Examples

Example 1: End-to-end BIMI setup for $5M+ brand

Goal: display brand logo in Gmail / Yahoo / Apple Mail for trust + recall.

Steps:

  1. Verify DMARC at p=quarantine; pct=100 or p=reject. If not, run phased rollout via deliverability-deep-spf-dkim-dmarc-bimi-arc first (4-8 weeks).
  2. Procure registered trademark for the logo (if not already). USPTO process: 6-12 months, ~$300 filing fee. Hard prerequisite.
  3. Produce SVG Tiny PS logo (Recipe 2). If your design team gives you a regular SVG, strip animations + external refs + scripts; export at 512x512 max.
  4. Apply for VMC at DigiCert (Recipe 4). 1-2 weeks of trademark vetting.
  5. While waiting: host SVG (Recipe 3). Validate dimensions + size.
  6. Receive VMC PEM. Host (Recipe 5).
  7. Publish DNS record (Recipe 6).
  8. Validate with BIMI Inspector (Recipe 8). All-green.
  9. Send live tests to Gmail / Yahoo / Apple / Fastmail (Recipe 9). Confirm logo renders.
  10. Calendar 60-day-before-expiry reminder for renewal.

Result: brand logo visible in supported inboxes; estimated 10-30% open-rate lift (per BIMI Group case studies).

Example 2: Troubleshoot "logo doesn't show in Gmail" complaint

Goal: diagnose missing BIMI display.

Steps:

  1. Run BIMI Inspector (Recipe 8). Capture each field's status.
  2. Common findings:
  1. After fix, re-test in Gmail. Note: Gmail caches BIMI status for 24-48h; may need to wait.

Edge cases

Sources

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.