[MacPorts] #63795: privoxy: sh: line 18: unexpected EOF while looking for matching `''

MacPorts noreply at macports.org
Thu Nov 4 08:33:54 UTC 2021


#63795: privoxy: sh: line 18: unexpected EOF while looking for matching `''
------------------------+-----------------------
 Reporter:  ryandesign  |      Owner:  essandess
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.7.99
 Keywords:              |       Port:  privoxy
------------------------+-----------------------
 Failed to activate privoxy on my High Sierra system:
 {{{
 Generating RSA private key, 2048 bit long modulus (2 primes)
 ....+++++
 .........................................+++++
 e is 65537 (0x010001)
 certs/ca.cert.pem: OK
 sh: line 18: unexpected EOF while looking for matching `''
 sh: line 19: syntax error: unexpected end of file
 Command failed: sh <<TLS_PRIVOXY_ROOT_CA
             # initialize
             touch index.txt
             echo 1000 > serial

             # CA encrypted key
             openssl genrsa -aes256 -out private/ca.key.pem \
                 -passout file:private/passphrase.txt
             chmod go-rw private/ca.key.pem

             # CA certificate
             openssl req -config openssl.cnf \
                 -new -x509 -days 1460 -sha256 \
                 -extensions v3_ca \
                 -out certs/ca.cert.pem -key private/ca.key.pem \
                 -passin file:private/passphrase.txt -batch

             # CA certificate openssl self-verification
             openssl verify -CAfile certs/ca.cert.pem certs/ca.cert.pem

             # Convert to .cer DER and .p12 for other uses
             openssl x509 -outform der -in certs/ca.cert.pem -out
 certs/ca.cer

             openssl pkcs12 -export -out certs/ca.p12 \
                 -inkey private/ca.key.pem -in certs/ca.cert.pem \
                 -passin file:private/passphrase.txt \
                 -passout pass:$'refroze2'octagon-Jules0;elisions'
 TLS_PRIVOXY_ROOT_CA

 Exit code: 2
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/63795>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list