Issuer Service Configuration

The issuer2-service.conf file configures the core Issuer2 service settings.

File Location

waltid-issuer-api2/config/issuer2-service.conf

Configuration Options

baseUrl

The public URL where the issuer service is accessible. This URL is included in credential offers and OpenID metadata.

baseUrl = "http://localhost:7002"

ciTokenKey

The key used for signing access tokens. If not provided, a new key is generated on startup.

ciTokenKey = "{\"kty\":\"EC\",\"d\":\"...\",\"crv\":\"P-256\",\"x\":\"...\",\"y\":\"...\"}"

Example Configuration

# issuer2-service.conf

baseUrl = "http://localhost:7002"

# Optional: Provide a specific token signing key
# ciTokenKey = "{\"kty\":\"EC\",\"d\":\"...\",\"crv\":\"P-256\",\"x\":\"...\",\"y\":\"...\"}"

Production Configuration

For production deployments, ensure:

  1. baseUrl points to your public HTTPS URL
  2. ciTokenKey is a securely generated key stored safely
# Production example
baseUrl = "https://issuer.example.com"
ciTokenKey = "{\"kty\":\"EC\",\"d\":\"...\",\"crv\":\"P-256\",\"x\":\"...\",\"y\":\"...\"}"
Last updated on June 15, 2026