Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/znerol/pfsense-cert-replace

Replace existing pfSense TLS certificate with new one read from stdin
https://github.com/znerol/pfsense-cert-replace

Last synced: 26 days ago
JSON representation

Replace existing pfSense TLS certificate with new one read from stdin

Awesome Lists containing this project

README

        

# pfsense-cert-replace

Replace existing pfSense TLS certificate with new one read from stdin

## Installation

1. Copy `cert-replace.php` to `/usr/local/bin/cert-replace.php`.
2. `chmod +x /usr/local/bin/cert-replace.php`

## Usage

Local:

```
/usr/local/bin/cert-replace.php certificate-name < /path-to-cert.
```

Remote:

```
cat /path-to-cert.pem | ssh root@pfsense /usr/local/bin/cert-replace.php certificate-name
```