Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

154
Views
pass apache httpd passphrase non-interactively to standard input

Starting apache httpd prompts for a passphrase string text like below

$ echo -n "mypassword" | /web/apps/perf/apache/2.4.46/https-model/bin/apachectl -k start
Apache/2.4.46 mod_ssl (Pass Phrase Dialog)
Some of your private key files are encrypted for security reasons.
In order to read them you have to provide the pass phrases.

Private key model.com:443:0 (/web/apps/perf/apache/2.4.46/https-model/ssl/model.key)
Enter pass phrase:

I tried the below options to pass the password non-intractively but none of them work.

  1. echo -n "mypassword" | /web/apps/perf/apache/2.4.46/https-model/bin/apachectl -k start
  2. echo "mypassword" >> /web/apps/perf/apache/2.4.46/https-model/bin/apachectl -k start
  3. /web/apps/perf/apache/2.4.46/https-model/bin/apachectl -k start << echo "mypassword"
  4. /web/apps/perf/apache/2.4.46/https-model/bin/apachectl -k start << cat mypasswordfile (where mypasswordfile is a file having the password.)

Can you please suggest?

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!