docs: overhaul install-root-ca page with comprehensive raw vs script options

This commit is contained in:
dyzulk
2026-01-08 15:53:05 +07:00
parent f093b7a601
commit 291576f019

View File

@@ -1,18 +1,13 @@
import { CertificateDownload } from '../../../components/CertificateDownload' import { Tabs } from 'nextra/components'
import { Steps } from 'nextra/components'
# Installing Root CA # Installing Root CA
To ensure your browser trusts certificates issued by TrustLab, you must install our Root CA. To ensure your browser trusts certificates issued by TrustLab, you must install our Root CA.
<div className="my-8"> ## Quick Installation (Bundle)
<CertificateDownload />
</div>
## Quick Installation (Recommended) Instantly install **ALL** TrustLab Root & Intermediate certificates using our automated bundle scripts.
Instantly install all TrustLab Root & Intermediate certificates using our automated scripts.
import { Tabs } from 'nextra/components'
### Linux / Server (CLI) ### Linux / Server (CLI)
@@ -41,96 +36,79 @@ Select your distribution to get the optimized installation command:
</Tabs.Tab> </Tabs.Tab>
</Tabs> </Tabs>
### Windows ### Windows / macOS
[Download Auto-Installer (.bat)](https://cdn.trustlab.dyzulk.com/ca/bundles/trustlab-all.bat) * **Windows**: [Download Bundle Installer (.bat)](https://cdn.trustlab.dyzulk.com/ca/bundles/trustlab-all.bat) (Right-click > Run as Admin)
*Right-click and Run as Administrator explicitly.* * **macOS/iOS**: [Download Configuration Profile (.mobileconfig)](https://cdn.trustlab.dyzulk.com/ca/bundles/trustlab-all.mobileconfig)
### macOS / iOS
[Download Configuration Profile (.mobileconfig)](https://cdn.trustlab.dyzulk.com/ca/bundles/trustlab-all.mobileconfig)
*Go to System Settings > Privacy & Security > Profiles to install after downloading.*
--- ---
import { Steps } from 'nextra/components' ## Individual Certificate Installation
## Manual Installation Guide If you need to install specific certificates individually (e.g. only Root, or specific Intermediate), use the options below.
If you prefer to install certificates manually, follow these steps for your operating system.
<Tabs items={['Windows', 'macOS', 'Android', 'Linux']}> <Tabs items={['Windows', 'macOS', 'Android', 'Linux']}>
<Tabs.Tab> <Tabs.Tab>
<Steps> <Steps>
### Download Certificates ### Download Certificate
Download the certificates you need: Choose the format that works best for you:
* **[Root CA (.crt)](https://cdn.trustlab.dyzulk.com/ca/dydev-its-true.crt)** (Required)
* [Intermediate CA - 4096 (.crt)](https://cdn.trustlab.dyzulk.com/ca/trustlab-intermediate-ca-4096.crt)
* [Intermediate CA - 2048 (.crt)](https://cdn.trustlab.dyzulk.com/ca/trustlab-intermediate-ca-2048.crt)
### Install Root CA | Certificate | Raw File | Auto-Installer Script |
Double-click `dydev-its-true.crt` -> **Install Certificate**. | :--- | :--- | :--- |
Select **Local Machine** -> Place in **Trusted Root Certification Authorities**. | **Root CA** | **[dydev-its-true.crt](https://cdn.trustlab.dyzulk.com/ca/dydev-its-true.crt)** | **[Installer (.bat)](https://cdn.trustlab.dyzulk.com/ca/installers/trustlab-dydev-its-true.bat)** |
| **Intermediate (4096)** | [trustlab-intermediate-ca-4096.crt](https://cdn.trustlab.dyzulk.com/ca/trustlab-intermediate-ca-4096.crt) | [Installer (.bat)](https://cdn.trustlab.dyzulk.com/ca/installers/trustlab-trustlab-intermediate-ca-4096.bat) |
| **Intermediate (2048)** | [trustlab-intermediate-ca-2048.crt](https://cdn.trustlab.dyzulk.com/ca/trustlab-intermediate-ca-2048.crt) | [Installer (.bat)](https://cdn.trustlab.dyzulk.com/ca/installers/trustlab-trustlab-intermediate-ca-2048.bat) |
### Install Intermediates (Optional) *For Scripts: Right-click the `.bat` file and select "Run as Administrator".*
If installing Intermediates:
Double-click the file -> **Install Certificate**.
Select **Local Machine** -> Place in **Intermediate Certification Authorities**.
</Steps>
</Tabs.Tab>
<Tabs.Tab>
<Steps>
### Download Certificates
* **[Root CA (.crt)](https://cdn.trustlab.dyzulk.com/ca/dydev-its-true.crt)**
* [Intermediate CA - 4096 (.crt)](https://cdn.trustlab.dyzulk.com/ca/trustlab-intermediate-ca-4096.crt)
* [Intermediate CA - 2048 (.crt)](https://cdn.trustlab.dyzulk.com/ca/trustlab-intermediate-ca-2048.crt)
### Add to Keychain ### Manual Install (Raw File)
Double-click all downloaded files to open **Keychain Access**. 1. Double-click the `.crt` file -> **Install Certificate**.
Ensure they are added to the **System** keychain. 2. Select **Local Machine**.
3. For Root: Place in **Trusted Root Certification Authorities**.
### Trust Root CA 4. For Intermediate: Place in **Intermediate Certification Authorities**.
Find "DyDev Its True" (Root CA) in the list.
Expand **Trust** -> Change to **Always Trust**.
*(Intermediates do not need manual trust settings if Root is trusted)*.
</Steps>
</Tabs.Tab>
<Tabs.Tab>
<Steps>
### Download Certificates
* **[Root CA (.crt)](https://cdn.trustlab.dyzulk.com/ca/dydev-its-true.crt)**
* [Intermediate CA - 4096 (.crt)](https://cdn.trustlab.dyzulk.com/ca/trustlab-intermediate-ca-4096.crt)
### Install via Settings
Go to **Settings** > **Security** > **Encryption & Credentials**.
Tap **Install a certificate** > **CA Certificate**.
Select and install the Root CA first, then the Intermediates.
</Steps> </Steps>
</Tabs.Tab> </Tabs.Tab>
<Tabs.Tab> <Tabs.Tab>
<Steps> <Steps>
### Download ### Download
Download the files using `curl`:
```bash
# Root CA
curl -LO https://cdn.trustlab.dyzulk.com/ca/dydev-its-true.crt
# Intermediates | Certificate | Raw File | Profile |
curl -LO https://cdn.trustlab.dyzulk.com/ca/trustlab-intermediate-ca-4096.crt | :--- | :--- | :--- |
curl -LO https://cdn.trustlab.dyzulk.com/ca/trustlab-intermediate-ca-2048.crt | **Root CA** | **[dydev-its-true.crt](https://cdn.trustlab.dyzulk.com/ca/dydev-its-true.crt)** | **[Profile (.mobileconfig)](https://cdn.trustlab.dyzulk.com/ca/installers/trustlab-dydev-its-true.mobileconfig)** |
``` | **Intermediate (4096)** | [4096.crt](https://cdn.trustlab.dyzulk.com/ca/trustlab-intermediate-ca-4096.crt) | [Profile (.mobileconfig)](https://cdn.trustlab.dyzulk.com/ca/installers/trustlab-trustlab-intermediate-ca-4096.mobileconfig) |
### Install (Debian/Ubuntu) ### Install
Copy all `.crt` files to the CA directory: * **Profile**: Double-click `.mobileconfig` -> Go to System Settings -> Privacy & Security -> Profiles -> Install.
* **Raw**: Double-click `.crt` -> Keychain Access -> System -> **Always Trust**.
</Steps>
</Tabs.Tab>
<Tabs.Tab>
<Steps>
### Download
| Certificate | Raw File | DER Format |
| :--- | :--- | :--- |
| **Root CA** | **[dydev-its-true.crt](https://cdn.trustlab.dyzulk.com/ca/dydev-its-true.crt)** | **[dydev-its-true.der](https://cdn.trustlab.dyzulk.com/ca/dydev-its-true.der)** |
### Install
Settings -> Security -> Encryption & Credentials -> Install a certificate -> CA Certificate.
</Steps>
</Tabs.Tab>
<Tabs.Tab>
<Steps>
### Download & Install (CLI)
You can download the raw file or run the installer script directly:
| Certificate | Raw File | One-Liner Installer |
| :--- | :--- | :--- |
| **Root CA** | [dydev-its-true.crt](https://cdn.trustlab.dyzulk.com/ca/dydev-its-true.crt) | `curl -sL https://cdn.trustlab.dyzulk.com/ca/installers/trustlab-dydev-its-true.sh | sudo bash` |
| **Intermediate** | [4096.crt](https://cdn.trustlab.dyzulk.com/ca/trustlab-intermediate-ca-4096.crt) | `curl -sL https://cdn.trustlab.dyzulk.com/ca/installers/trustlab-trustlab-intermediate-ca-4096.sh | sudo bash` |
### Manual Place
If using raw file:
```bash ```bash
sudo cp *.crt /usr/local/share/ca-certificates/ sudo cp *.crt /usr/local/share/ca-certificates/
```
### Update Store
Update the CA store:
```bash
sudo update-ca-certificates sudo update-ca-certificates
``` ```
*For RHEL/CentOS, copy to `/etc/pki/ca-trust/source/anchors/` and run `update-ca-trust`.*
</Steps> </Steps>
</Tabs.Tab> </Tabs.Tab>
</Tabs> </Tabs>