easy-rsa v3: build-ca ve gen-req'i sessizce yürütür mü?


1

Easy-rsa'nın daha yeni v3 sürümü ile verileri komut satırına sessizce beslemenin bir yolunu bulamadım:

$ ./easyrsa build-ca nopass

Note: using Easy-RSA configuration from: ./vars
Generating a 2048 bit RSA private key
...............................................................................................................................................................+++
...............................................................................+++
writing new private key to '~/EasyRSA-3.0.4/pki/private/ca.key.Dz9CBy9xV1'
-----
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Common Name (eg: your user, host, or server name) [Easy-RSA CA]:

Ben dosyaları ile işe yaramaz denedim openssl-easyrsa.cnfve varsama boşuna.

Bu işlemleri liman işçisi konteyner giriş noktası içinde otomatikleştiriyorum, bu yüzden etkileşimli hiçbir şeyle gidemiyorum.

Yanıtlar:


2

Tamam, bu easyrsa'yı çalıştırmadan önce yapmak kadar basitti:

# export EASYRSA_BATCH=1

Teşekkürler! Denedim set_var EASYRSA_BATCH "yes"de varsdosyaya, ama bu işe yaramadı. Koşu export EASYRSA_BATCH=1hile yaptı.
ndbroadbent
Sitemizi kullandığınızda şunları okuyup anladığınızı kabul etmiş olursunuz: Çerez Politikası ve Gizlilik Politikası.
Licensed under cc by-sa 3.0 with attribution required.