Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/znerol/pfsense-cert-replace
- Owner: znerol
- License: apache-2.0
- Created: 2019-06-25T14:24:42.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-06-25T14:39:44.000Z (over 5 years ago)
- Last Synced: 2024-10-15T03:46:21.702Z (2 months ago)
- Language: PHP
- Size: 6.84 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```