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

  • Home
  • SEARCH
  • 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 8480799
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T19:23:34+00:00 2026-06-10T19:23:34+00:00

I have a machine, in which apache is running. I configured apache to get

  • 0

I have a machine, in which apache is running. I configured apache to get the ssl certificate from location /ssl. I can hit my site www.batman.com and there is no ssl error in my browser.

But when I try :

wget localhost

I get an huge error:

ERROR: no certificate subject alternative name matches
    requested host name `localhost'.
To connect to localhost insecurely, use `--no-check-certificate'.

I know my ssl certificate doesn’t match the name localhost. But my problem is I’m running a script downloaded from here.

when I run:

./check_apache2.sh -H localhost -P 8443

I get an error:

(standard_in) 2: syntax error
OK - Apache serves  Requests per second with an average CPU utilization of 0.5%. Busy workers: , idle:  | 'cpu_load'=0.5 'req_psec'= 'bytes_psec'= 'bytes_preq'= 'workers_busy'= 'workers_idle'=

I guess the error is due to ssl certificate reason.

Are there any way to say my script that don’t do ssl certificate check same as what wget provides with no-check-certificate?

I’m new to bash. Kindly help

Thanks in advance.

  • 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-06-10T19:23:36+00:00Added an answer on June 10, 2026 at 7:23 pm

    Try:

    ./check_apache2.sh -H localhost -P 8443 -S
    

    According to the docs, the -S does https and invokes wget with the --no-check-certificate flag.

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

Sidebar

Related Questions

I have apache 2.2 and tomcat 5.5 running on a Windows XP machine. Which
I have a machine that is running Ubuntu Hardy, which provides its own RubyGems
I have a WCF service which works on my dev machine running IIS 7,
We have a Django app running on apache server (mod_python) on a windows machine
I currently have an svn server running on a machine to which multiple users
I have a Linux Machine. Apache server is running and I need to deploy
I have an apache server on linux machine which listen at: http://:8080 it will
I am running Apache on my localhost. From a PHP script run as www-user
I'm currently running an Apache server (2.2) on my local machine (Windows) which I'm
I have a machine which uses an NTP client to sync up to internet

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.