加载中
正在获取最新内容,请稍候...
正在获取最新内容,请稍候...
mkcert is a simple, zero-config tool for creating locally trusted development certificates with any desired hostnames, solving the common problem of browser warnings and untrusted connections during local development.
mkcert is an open-source command-line tool designed to simplify the creation and management of locally trusted SSL/TLS certificates for development environments. It automatically creates and installs a local Certificate Authority in the system's trust store, allowing generated certificates to be trusted by browsers and applications without warnings.
Developing applications locally with HTTPS often involves generating self-signed certificates that trigger browser security warnings. This makes testing realistic scenarios difficult and annoying. mkcert automates the process of setting up a local Certificate Authority and generating certificates that are automatically trusted.
Generates certificates trusted by browsers and OS trust stores locally, eliminating security warnings.
No complex configuration files or manual steps needed; just run a few commands.
Allows creating certificates for `localhost`, 127.0.0.1, local network IPs, and custom hostnames.
Does not require administrator privileges after the initial installation of the local CA.
mkcert is invaluable in any development scenario where simulating a secure (HTTPS) connection locally is required. Common use cases include:
Developing web applications that require HTTPS, such as those using service workers, HSTS, or secure cookies, allowing them to run correctly on `localhost`.
Eliminates browser security warnings (like 'NET::ERR_CERT_INVALID') and enables testing of HTTPS-only browser features.
Testing APIs or backend services that are designed to be accessed over HTTPS, ensuring that client applications can connect securely during development.
Provides a trusted endpoint for local API testing, simplifying the development and debugging of secure communication.
Setting up local development environments that mimic production setups requiring TLS encryption between services or for accessing internal tools.
Ensures the local development environment behaves more like production regarding secure connections, reducing surprises when deploying.
You might be interested in these projects
Enhance the reliability and structure of Large Language Model (LLM) outputs by seamlessly integrating Pydantic for data validation and parsing. This project provides tools and examples to reliably obtain structured data from LLMs.
SOPS (Secrets OPerationS) is a simple and flexible tool for managing secrets in file formats like YAML, JSON, ENV, INI, and BINARY. It encrypts secrets using AWS KMS, GCP KMS, Azure Key Vault, HashiCorp Vault, age, and PGP. Integrated well into Git workflows.
Freqtrade is a free and open-source crypto trading bot written in Python. It provides a comprehensive framework for users to develop, backtest, and deploy automated trading strategies on various cryptocurrency exchanges.