Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rspack-contrib/rsbuild-plugin-basic-ssl
An Rsbuild plugin to generate an untrusted, self-signed certificate for the HTTPS server.
https://github.com/rspack-contrib/rsbuild-plugin-basic-ssl
rsbuild rsbuild-plugin rspack
Last synced: 9 days ago
JSON representation
An Rsbuild plugin to generate an untrusted, self-signed certificate for the HTTPS server.
- Host: GitHub
- URL: https://github.com/rspack-contrib/rsbuild-plugin-basic-ssl
- Owner: rspack-contrib
- License: mit
- Created: 2024-07-01T14:05:12.000Z (10 days ago)
- Default Branch: main
- Last Pushed: 2024-07-01T14:28:16.000Z (10 days ago)
- Last Synced: 2024-07-02T03:28:24.380Z (10 days ago)
- Topics: rsbuild, rsbuild-plugin, rspack
- Language: TypeScript
- Homepage:
- Size: 8.79 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-rspack - @rsbuild/plugin-basic-ssl - signed certificate for the HTTPS server. (Plugins / Rsbuild Plugins)
README
# @rsbuild/plugin-basic-ssl
Generate an untrusted, self-signed certificate for the HTTPS server.
The Basic SSL plugin will automatically generate a self-signed certificate and set the [server.https](https://rsbuild.dev/config/server/https) option. When you visit the page, your browser will indicate that the certificate is not trusted. You can access the HTTPS page after manually confirming this.
## Usage
Install:
```bash
npm add @rsbuild/plugin-basic-ssl -D
```Add plugin to your `rsbuild.config.ts`:
```ts
// rsbuild.config.ts
import { pluginBasicSsl } from "@rsbuild/plugin-basic-ssl";export default {
plugins: [pluginBasicSsl()],
};
```Then visit the https URL of the page, and confirm in your browser.
## License
[MIT](./LICENSE).