Wipe all data and start fresh with a clean CertGov installation.
Resetting CertGov removes all issued certificates, CA keys, users, and all data from the PostgreSQL database. Your configuration file (/etc/certforge/trust.yaml) is preserved unless you explicitly delete it.
Reset data only (keep config)
Drop and recreate the PostgreSQL database, then restart:
# Stop the processsudo systemctl stop certforge# Drop and recreate the databasepsql -U postgres -c "DROP DATABASE IF EXISTS certforge;"psql -U postgres -c "CREATE DATABASE certforge OWNER certforge;"# Also clear the local data directory (CA keys, runtime files)sudo rm -rf /var/lib/certforgesudo mkdir -p /var/lib/certforgesudo chown certforge:certforge /var/lib/certforge# Start fresh — schema is recreated automatically, first-run wizard appears on next visitsudo systemctl start certforge
On the next start, CertGov will:
Recreate the schema in the empty database
Generate a new internal CA
Drop you into the first-run superuser setup wizard
Then re-run the installer or recreate the config manually from the example.
This is irreversible. All issued certificates, audit logs, users, and CA keys will be permanently deleted. Take a backup first if you may need to recover anything.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"CertGov","colors":{"primary":"#1d4ed8","light":"#3b82f6","dark":"#1e3a8a"},"favicon":"https://mintcdn.com/certforgellc/BAh5la5dwQP2DPuw/favicon.ico?fit=max\u0026auto=format\u0026n=BAh5la5dwQP2DPuw\u0026q=85\u0026s=92c348abaebf6e967072d17979084452","logo":{"light":"https://mintcdn.com/certforgellc/BAh5la5dwQP2DPuw/logo/light.svg?fit=max\u0026auto=format\u0026n=BAh5la5dwQP2DPuw\u0026q=85\u0026s=f577be46416c9c0921fcddfe989c126e","dark":"https://mintcdn.com/certforgellc/BAh5la5dwQP2DPuw/logo/dark.svg?fit=max\u0026auto=format\u0026n=BAh5la5dwQP2DPuw\u0026q=85\u0026s=4eafb6dcb37d025fdd60ed1004377eae"},"navbar":{"links":[{"label":"Sign In","href":"https://app.certgov.app/login"}],"primary":{"type":"button","label":"Get Started","href":"https://app.certgov.app/signup?source=docs:topbar"}},"footer":{"socials":{"website":"https://certgov.app"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"certforgellc","hasAudioNarration":false,"actualSubdomain":"certforgellc","customDomains":["docs.certgov.app"],"gitSource":{"type":"github","owner":"certforge-llc","repo":"certforge","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b0b5b133d9ba212ea0df136","clientVersion":"0.0.4344","searchFilterCounts":[{"language":"default","tag":"Documentation","count":54},{"language":"default","tag":"Guides","count":50},{"language":"default","tag":"Concepts","count":13},{"language":"default","tag":"Core Concepts","count":13},{"language":"default","tag":"Self-Hosted","count":7},{"language":"default","tag":"Reference","count":6},{"language":"default","tag":"Installation","count":5},{"language":"default","tag":"Getting Started","count":4},{"language":"default","tag":"Trust \u0026 Security","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"self-hosted/reset","slug":"/self-hosted/reset","pageMetadata":{"title":"Reset to Factory Defaults","description":"Wipe all data and start fresh with a clean CertGov installation.","href":"/self-hosted/reset"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Wipe all data and start fresh with a clean CertGov installation.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Resetting CertGov removes all issued certificates, CA keys, users, and all data from the PostgreSQL database. Your configuration file (`,_jsx(_components.code,{children:`/etc/certforge/trust.yaml`}),`) is preserved unless you explicitly delete it.`]}),`\n`,_jsx(Heading,{level:`2`,id:`reset-data-only-keep-config`,children:`Reset data only (keep config)`}),`\n`,_jsx(_components.p,{children:`Drop and recreate the PostgreSQL database, then restart:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`14`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`14`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Stop the process`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` systemctl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` stop`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` certforge`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Drop and recreate the database`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`psql`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -U`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` postgres`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"DROP DATABASE IF EXISTS certforge;\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`psql`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -U`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` postgres`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"CREATE DATABASE certforge OWNER certforge;\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Also clear the local data directory (CA keys, runtime files)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` rm`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -rf`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /var/lib/certforge`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mkdir`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -p`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /var/lib/certforge`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` chown`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` certforge:certforge`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /var/lib/certforge`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Start fresh — schema is recreated automatically, first-run wizard appears on next visit`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` systemctl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` start`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` certforge`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`On the next start, CertGov will:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Recreate the schema in the empty database`}),`\n`,_jsx(_components.li,{children:`Generate a new internal CA`}),`\n`,_jsx(_components.li,{children:`Drop you into the first-run superuser setup wizard`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`full-reset-wipe-config-too`,children:`Full reset (wipe config too)`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`pkill`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` certforge`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` 2>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/dev/null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`; `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`true`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` rm`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -rf`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /var/lib/certforge`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` rm`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /etc/certforge/trust.yaml`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Then re-run the installer or recreate the config manually from the `,_jsx(_components.a,{href:`https://github.com/CertForge-LLC/certforge-releases/blob/main/trust.example.yaml`,children:`example`}),`.`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`This is irreversible. All issued certificates, audit logs, users, and CA keys will be permanently deleted. Take a backup first if you may need to recover anything.`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Reset to Factory Defaults","description":"Wipe all data and start fresh with a clean CertGov installation.","href":"/self-hosted/reset"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Reset data only (keep config)","slug":"reset-data-only-keep-config","depth":2,"children":[]},{"title":"Full reset (wipe config too)","slug":"full-reset-wipe-config-too","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"certforgellc","siteName":"CertGov","title":"Reset to Factory Defaults - CertGov","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-22T15:50:55.213Z","originalFileLocation":"self-hosted/reset.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Wipe all data and start fresh with a clean CertGov installation.\">\u003cmeta data-mint-head name=\"application-name\" content=\"CertGov\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/certforgellc/Ce8uzsvpVbN5aTIZ/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/certforgellc/Ce8uzsvpVbN5aTIZ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/certforgellc/Ce8uzsvpVbN5aTIZ/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/certforgellc/Ce8uzsvpVbN5aTIZ/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/certforgellc/Ce8uzsvpVbN5aTIZ/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/certforgellc/Ce8uzsvpVbN5aTIZ/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/certforgellc/Ce8uzsvpVbN5aTIZ/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/certforgellc/Ce8uzsvpVbN5aTIZ/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/certforgellc/Ce8uzsvpVbN5aTIZ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Reset to Factory Defaults - CertGov\">\u003cmeta data-mint-head property=\"og:description\" content=\"Wipe all data and start fresh with a clean CertGov installation.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"CertGov\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.certgov.app/self-hosted/reset\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://certforgellc.mintlify.site/_mintlify/api/og/v2?division=Installation\u0026amp;title=Reset+to+Factory+Defaults\u0026amp;description=Wipe+all+data+and+start+fresh+with+a+clean+CertGov+installation.\u0026amp;theme=0b066d3e5b16f19cd1b1d273\u0026amp;signature=8beeaa257c3271a43edc75424844348d4d79dd721191b61b15a128207080cfbe\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Reset to Factory Defaults - CertGov\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Wipe all data and start fresh with a clean CertGov installation.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://certforgellc.mintlify.site/_mintlify/api/og/v2?division=Installation\u0026amp;title=Reset+to+Factory+Defaults\u0026amp;description=Wipe+all+data+and+start+fresh+with+a+clean+CertGov+installation.\u0026amp;theme=0b066d3e5b16f19cd1b1d273\u0026amp;signature=8beeaa257c3271a43edc75424844348d4d79dd721191b61b15a128207080cfbe\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/certforgellc/Ce8uzsvpVbN5aTIZ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"CertGov\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1d4ed8\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.certgov.app/self-hosted/reset\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/self-hosted/reset.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.certgov.app/#organization\",\"name\":\"CertGov\",\"url\":\"https://docs.certgov.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/certforgellc/BAh5la5dwQP2DPuw/logo/light.svg?fit=max\u0026auto=format\u0026n=BAh5la5dwQP2DPuw\u0026q=85\u0026s=f577be46416c9c0921fcddfe989c126e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.certgov.app#website\",\"name\":\"CertGov\",\"url\":\"https://docs.certgov.app\",\"publisher\":{\"@id\":\"https://docs.certgov.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.certgov.app/self-hosted/reset#webpage\",\"url\":\"https://docs.certgov.app/self-hosted/reset\",\"name\":\"Reset to Factory Defaults\",\"description\":\"Wipe all data and start fresh with a clean CertGov installation.\",\"dateModified\":\"2026-10-22T15:50:55.213Z\",\"isPartOf\":{\"@id\":\"https://docs.certgov.app#website\"},\"breadcrumb\":{\"@id\":\"https://docs.certgov.app/self-hosted/reset#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.certgov.app/self-hosted/reset#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Installation\",\"item\":\"https://docs.certgov.app/self-hosted/installation\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Reset to Factory Defaults\",\"item\":\"https://docs.certgov.app/self-hosted/reset\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.certgov.app/self-hosted/reset#article\",\"headline\":\"Reset to Factory Defaults\",\"name\":\"Reset to Factory Defaults\",\"description\":\"Wipe all data and start fresh with a clean CertGov installation.\",\"url\":\"https://docs.certgov.app/self-hosted/reset\",\"mainEntityOfPage\":{\"@id\":\"https://docs.certgov.app/self-hosted/reset#webpage\"},\"dateModified\":\"2026-10-22T15:50:55.213Z\",\"publisher\":{\"@id\":\"https://docs.certgov.app/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.certgov.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"CertGov\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"CertGov\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/self-hosted/reset.md","siteName":"CertGov","nav":{"global":null,"anchors":[{"anchor":"Documentation","icon":"book-open","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"Self-Hosted","groups":[{"group":"Getting Started","pages":[{"title":"System Requirements","href":"/self-hosted/requirements"},{"title":"Quick Start","href":"/self-hosted/quick-start"}]},{"group":"Installation","pages":[{"title":"Installation","href":"/self-hosted/installation"},{"title":"Running as a Service","href":"/self-hosted/systemd"},{"title":"Configuration Reference","href":"/self-hosted/configuration"},{"title":"Upgrading","description":"How to upgrade CertGov Self-Hosted to a new version.","href":"/self-hosted/upgrading"},{"title":"Reset to Factory Defaults","href":"/self-hosted/reset"}]}]},{"tab":"Concepts","pages":[{"title":"Concepts","href":"/concepts/dashboard"}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/guides/acme-setup"}]},{"tab":"Reference","pages":[{"title":"Reference","href":"/reference/configuration"}]}]},{"anchor":"Changelog","href":"https://certgov.app/changelog","icon":"list"},{"anchor":"GitHub","href":"https://github.com/CertForge-LLC/certforge","icon":"github"},{"anchor":"Support","href":"mailto:support@certgov.app","icon":"envelope"}]},"basePath":"","title":"Reset to Factory Defaults - CertGov","deploymentId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","buildId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","dynamics":[],"chunks":[]}