LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-04-2024, 07:33 AM   #1
gregaryb
LQ Newbie
 
Registered: Nov 2023
Posts: 5

Rep: Reputation: 0
https://certbot.eff.org/instructions?ws=other&os=windows


My web server www.find-a-tradie.com.au is a https web server.

http://www.find-a-tradie.com.au => BAD REQUEST

I cannot use this tool to create a certificate for my https server because it does not respond to port 80 requests that is uses to verify it.

So how the buggery are you supposed to use it to generate a ceriticate?????

It make no difference if I try and run this tool on a different laptop with a regular http web server on it.

Because it still tries to make a http request to my https web site.

It is completely impossible to use it!

Last edited by gregaryb; 01-04-2024 at 07:43 AM.
 
Old 01-04-2024, 12:40 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,156

Rep: Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266
Is port 80 blocked by firewall or something? Are you able to add a TXT record to your DNS?
 
Old 01-04-2024, 12:55 PM   #3
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,173
Blog Entries: 1

Rep: Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040
Quote:
Originally Posted by gregaryb View Post
My web server www.find-a-tradie.com.au is a https web server.

http://www.find-a-tradie.com.au => BAD REQUEST

I cannot use this tool to create a certificate for my https server because it does not respond to port 80 requests that is uses to verify it.

So how the buggery are you supposed to use it to generate a ceriticate?????

It make no difference if I try and run this tool on a different laptop with a regular http web server on it.

Because it still tries to make a http request to my https web site.

It is completely impossible to use it!
FYI it works from here: https://www.find-a-tradie.com.au
 
Old 01-04-2024, 01:35 PM   #4
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,742

Rep: Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222
Quote:
Originally Posted by gregaryb View Post
My web server www.find-a-tradie.com.au is a https web server.

http://www.find-a-tradie.com.au => BAD REQUEST

I cannot use this tool to create a certificate for my https server because it does not respond to port 80 requests that is uses to verify it.

So how the buggery are you supposed to use it to generate a ceriticate?????

It make no difference if I try and run this tool on a different laptop with a regular http web server on it.

Because it still tries to make a http request to my https web site.

It is completely impossible to use it!
Probably. Certbot is apparently designed to provide a certificate for a site which does not already have one.
Your site already has a certificate (else, the https would not work) provided by Let’s Encrypt that expires next April 4th.
Do you not want to renew the certificate you have?
Can you allow port 80 (http) access temporarily so that Certbot can do its thing?
What exactly are you trying to accomplish?
 
Old 01-05-2024, 06:27 AM   #5
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,484

Rep: Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556
I would also strongly suggest that you configure your server to accept port 80 connections for find-a-tradie.com.au and www.find-a-tradie.com.au and redirect them to the "official" https:// URL

That should allow for all user "type in" scenarios.

Also, having 80 redirect to 443 will solve any of your certbot issues going forward.

It's as simple as 6 lines in the apache vhosts config:

Code:
<VirtualHost *:80>
    ServerAdmin your@email
    ServerName yourdomain.tld
    ServerAlias www.yourdomain.tld
    Redirect "/" "https://yourdomain.tld/"
</VirtualHost>
(My personal preference is to not have www at the start of the site, but that's just me.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dogtag-pki: Tomcat instance crashes on Debian 11 when using certbot from other server Superspeed500 Linux - Server 0 12-07-2021 09:51 PM
LXer: NSA Uses EFF Images To Explain Tor; EFF Jokingly Claims Creative Commons Violation LXer Syndicated Linux News 0 10-06-2013 11:11 AM
LXer: EFF delivers HTTPS Not Quite Everywhere LXer Syndicated Linux News 0 06-29-2010 11:20 PM
Ph&#7909;c h&#7891;i d&#7919; li&#7879;u b&#7883; m&#7845;t???, c&#7913; pollsite General 1 06-27-2005 12:39 PM
Gotta love those &#1649;&#1649;&#1649;&#1649;&#1649;&#1649;&#1649;&# iLLuSionZ Linux - General 5 11-18-2003 07:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration