Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4029360
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T11:20:08+00:00 2026-05-20T11:20:08+00:00

I have a Perl program, intended to be run from a subversion post-commit script,

  • 0

I have a Perl program, intended to be run from a subversion post-commit script, which needs to connect to a HTTPS based Web API.

When I test the program from an interactive shell, as root, it works just fine.

When it runs from the post-commit script, it errors out, and the response from LWP is along the lines of “500 Connect failed”.

There’s some evidence that when run from the post-commit script, SS isn’t enabled, because when I set $ENV{HTTPS_DEBUG} =1; and run it as root, I see debug output, such as

SSL_connect:before/connect initialization

but from the post-commit script, non of the SLL debug info is printed.

  • The the post-commit script runs as user apache.
  • I’m running CentOS 64bit.

It’s been years since I’ve done any Unix work, so I’m not sure what the next steps are to get SSL working in this case.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T11:20:08+00:00Added an answer on May 20, 2026 at 11:20 am

    I had to run this:

    setsebool httpd_can_network_connect=on
    

    to allow the httpd process to make network connections

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a Perl program to validate XML which is invoked from a Java
I have a Perl program that needs to run about half a dozen programs
I have a Perl program, that needs to use packages (that I also write).
I have a bunch of PDF files and my Perl program needs to do
I have Perl program based on IO::Async , and it sometimes just exits after
I am calling the following script from my main Perl program. The script takes
I have the following Perl script. I am trying to run it in Windows
I have a program in Perl I'm working on where I would need multiple
I have a C program with an embedded Perl interpreter. I want to be
I have several independent executable Perl, PHP CLI scripts and C++ programs for which

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.