OpenSSL - unknown option -addext
Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
OpenSSL - unknown option -addext
При выполнении команды:
# openssl req -out certificate_name.csr -new -subj "/C=RU/ST=Moscow/L=Moscow/O=Organization/CN=.domain.ru" -addext "keyUsage = digitalSignature, keyEncipherment" -addext "subjectAltName = DNS:domain.ru, DNS:www.domain.ru, DNS:.domain.ru" -addext "extendedKeyUsage = serverAuth" -newkey rsa:2048 -nodes -keyout certificate_name.key
ошибка:
unknown option -addext
Решение - это обновить openssl до OpenSSL 1.1.X
На сервере оказалась старая версия:
# openssl version OpenSSL 1.0.2k-fips 26 Jan 2017