Ubiquiti removed keytool (and java) from recent releases of Unifi OS. This moves from keytool to openssl's native pkcs12.

Tested on Unifi Dream Machine which runs Unifi OS and a built-in Unifi controller.

Also added backup of existing files prior to change in case anything goes wrong, and update system configuration with compatible ciphers.
This commit is contained in:
3VAbdAVE
2024-08-15 11:25:23 -04:00
parent bc90376489
commit d8637b2c0f
161 changed files with 2083 additions and 1415 deletions

View File

@@ -1,17 +1,16 @@
#!/usr/bin/env sh
########################################################################
# NocWorx script for acme.sh
#
# Handles DNS Updates for the Following vendors:
# - Nexcess.net
# - Thermo.io
# - Futurehosting.com
#
# Environment variables:
#
# - NW_API_TOKEN (Your API Token)
# - NW_API_ENDPOINT (One of the following listed below)
#
# shellcheck disable=SC2034
dns_nw_info='Nexcess.net (NocWorx)
Domains: Thermo.io Futurehosting.com
Site: Nexcess.net
Docs: github.com/acmesh-official/acme.sh/wiki/dnsapi#dns_nw
Options:
NW_API_TOKEN API Token
NW_API_ENDPOINT API Endpoint. Default: "https://portal.nexcess.net".
Issues: github.com/acmesh-official/acme.sh/issues/2088
Author: Frank Laszlo <flaszlo@nexcess.net>
'
# Endpoints:
# - https://portal.nexcess.net (default)
# - https://core.thermo.io
@@ -22,8 +21,6 @@
# - https://portal.nexcess.net/api-token
# - https://core.thermo.io/api-token
# - https://my.futurehosting.com/api-token
#
# Author: Frank Laszlo <flaszlo@nexcess.net>
NW_API_VERSION="0"