Skip to content

Configuration Properties Reference ​

Complete reference for all properties in conf/mirth.properties.

Directories ​

PropertyDefaultDescription
dir.appdataappdataApplication data directory
dir.tempdata${dir.appdata}/tempTemporary data directory

Network ports ​

PropertyDefaultDescription
http.port8080HTTP port (web server, launch page)
https.port8443HTTPS port (REST API, Administrator)
http.host0.0.0.0HTTP bind address
https.host0.0.0.0HTTPS bind address
http.contextpath/Web server context path

TLS / SSL ​

PropertyDefaultDescription
https.client.protocolsTLSv1.3,TLSv1.2Client TLS protocol versions
https.server.protocolsTLSv1.3,TLSv1.2,SSLv2HelloServer TLS protocol versions
https.ciphersuites(strong defaults)Comma-separated cipher suites
https.ephemeraldhkeysize2048Ephemeral DH key size

Keystore ​

PropertyDefaultDescription
keystore.path${dir.appdata}/keystore.jksKeystore file path
keystore.storepass(generated)Keystore password
keystore.keypass(generated)Key password
keystore.typeJCEKSKeystore type

Database ​

PropertyDefaultDescription
databasederbyDatabase type: derby, mysql, postgres, oracle, sqlserver
database.url(Derby embedded)JDBC connection URL
database.driver(none)JDBC driver class override (e.g. com.microsoft.sqlserver.jdbc.SQLServerDriver)
database.username(empty)Database username
database.password(empty)Database password
database.max-connections20Read/write connection pool size
database-readonly.max-connections20Read-only connection pool size
database.enable-read-write-splittrueEnable separate read-only pool
database.connection.maxretry2Startup connection retry attempts
database.connection.retrywaitinmilliseconds10000Wait between retries (ms)

Read-only pool override ​

PropertyDefaultDescription
database-readonly.url(same as primary)Read-only JDBC URL
database-readonly.driver(same as primary)Read-only JDBC driver class override
database-readonly.username(same as primary)Read-only username
database-readonly.password(same as primary)Read-only password

Password policy ​

PropertyDefaultDescription
password.minlength0Minimum password length
password.minupper0Minimum uppercase characters
password.minlower0Minimum lowercase characters
password.minnumeric0Minimum numeric characters
password.minspecial0Minimum special characters
password.retrylimit0Failed attempts before lockout (0 = unlimited)
password.lockoutperiod0Lockout duration in hours (0 = until admin unlock)
password.expiration0Days until expiration (0 = never)
password.graceperiod0Grace days after expiration
password.reuseperiod0Days before password reuse
password.reuselimit0Number of previous passwords blocked

Server behavior ​

PropertyDefaultDescription
server.startupdeploytrueAuto-deploy channels on startup
server.includecustomlibfalseInclude custom-lib/ on classpath
server.url(empty)Server URL (auto-detected if empty)

API security ​

PropertyDefaultDescription
server.api.require-requested-withtrueRequire X-Requested-With header (protects against CSRF)
server.api.accesscontrolalloworigin*CORS allowed origins
server.api.accesscontrolallowcredentialsfalseCORS allow credentials
server.api.accesscontrolallowmethodsGET, POST, DELETE, PUTCORS allowed methods
server.api.accesscontrolallowheadersContent-TypeCORS allowed headers
server.api.accesscontrolexposeheaders(empty)CORS exposed headers
server.api.accesscontrolmaxage(empty)CORS preflight cache (seconds)
server.api.contentsecuritypolicyframe-ancestors 'none'Content-Security-Policy header value
server.api.xframeoptionsDENYX-Frame-Options header value (clickjacking protection)
http.stricttransportsecuritytrueEnable Strict-Transport-Security header

Session management ​

PropertyDefaultDescription
server.api.sessioncachedefaultSession cache strategy (default or none)
server.api.sessionstorefalseStore session data in the database
server.api.sessionstoretablesessiondataDatabase table name for session storage (only used when server.api.sessionstore is true)

JavaScript engine ​

PropertyDefaultDescription
rhino.languageversiones6Rhino JS language version (1.0-1.8, es6)

Administrator client ​

PropertyDefaultDescription
administrator.maxheapsize512mMax JVM heap for the Administrator

Configuration Map ​

PropertyDefaultDescription
configurationmap.path${dir.appdata}/configuration.propertiesConfiguration map file location

Advanced ​

These properties are not present in the shipped mirth.properties file but are recognized by the server when added manually.

PropertyDefaultDescription
donkey.statsupdateinterval1000Interval in milliseconds for updating channel statistics
server.startuplocksleep0Sleep time in milliseconds when waiting for a startup lock (used in clustered or concurrent-start scenarios)
server.api.bypassword(empty)Base64-encoded bypass password for the REST API
configurationmap.locationfileConfiguration map storage location (file or database)
xstream.denytypes(empty)Comma-separated list of class names to deny in XStream deserialization
xstream.allowtypes(empty)Comma-separated list of class names to allow in XStream deserialization
xstream.allowtypehierarchies(empty)Comma-separated list of class hierarchies to allow in XStream deserialization

Version ​

PropertyDefaultDescription
version4.6.0The version this configuration was last written by, used to drive migration on startup. Do not modify. Ships matching the release, so a 4.6.0 server writes 4.6.0