Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-03-28, 14:27:15

Author Topic: Letsencrypt is creating certificates but not opening https  (Read 14235 times)

0 Members and 1 Guest are viewing this topic.

Offline aamirrajpoot

  • Valuable Member
  • *
  • Posts: 54
  • Karma: +0/-0
    • View Profile
Re: Letsencrypt is creating certificates but not opening https
« Reply #15 on: 2016-06-21, 12:45:12 »
Agreed, IPtables didnt worked. My port 80 is opened, and i need to open port 443. How I can open it? All tutorials on the net are realted to IPTables,

I can access site https://azan.school:8443/ but not https://azan.school/

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Letsencrypt is creating certificates but not opening https
« Reply #16 on: 2016-06-21, 13:18:50 »
By default, Kloxo-MR already 'disable' for IPTables. Yes, it's with 'dirty' trick.

Kloxo-MR rename /etc/sysconfig/iptables to /etc/sysconfig/iptables.kloxosave and /etc/sysconfig/ip6tables to /etc/sysconfig/ip6tables.kloxosave. And then run 'chkconfig --del iptables; service iptables stop'
« Last Edit: 2016-06-21, 13:22:45 by MRatWork »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline aamirrajpoot

  • Valuable Member
  • *
  • Posts: 54
  • Karma: +0/-0
    • View Profile
Re: Letsencrypt is creating certificates but not opening https
« Reply #17 on: 2016-06-21, 13:28:23 »
I did as you said,

1. renamed the iptables to iptables.kloxosave
2. chkconfig --del iptables;
3. service iptables stop

Rebooted, still port is not open
« Last Edit: 2016-06-21, 13:37:36 by aamirrajpoot »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Letsencrypt is creating certificates but not opening https
« Reply #18 on: 2016-06-21, 13:53:59 »
inform here 'chkconfig --list|grep iptables; service iptables status'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline aamirrajpoot

  • Valuable Member
  • *
  • Posts: 54
  • Karma: +0/-0
    • View Profile
Re: Letsencrypt is creating certificates but not opening https
« Reply #19 on: 2016-06-21, 13:55:52 »
Code: [Select]
# chkconfig --list|grep iptables; service iptables status

iptables: Firewall is not running.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Letsencrypt is creating certificates but not opening https
« Reply #20 on: 2016-06-21, 14:43:31 »
Open /etc/services and add:
Code: [Select]
https  443/tcp  # http protocol over TLS/SSL
https  443/udp  # http protocol over TLS/SSL
https  443/sctp  # http protocol over TLS/SSL
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline aamirrajpoot

  • Valuable Member
  • *
  • Posts: 54
  • Karma: +0/-0
    • View Profile
Re: Letsencrypt is creating certificates but not opening https
« Reply #21 on: 2016-06-21, 14:47:32 »
It is already in the file

I am getting this in email for last couple of hours now

Code: [Select]
Host: server.xxxxxxxx.com
Date: Jun-21 01:57
Port: 443
Action: sh /script/restart-web --force >/dev/null 2>&1
« Last Edit: 2016-06-22, 08:10:36 by aamirrajpoot »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Letsencrypt is creating certificates but not opening https
« Reply #22 on: 2016-06-21, 15:35:15 »
Please focus to 1 issue!.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline aamirrajpoot

  • Valuable Member
  • *
  • Posts: 54
  • Karma: +0/-0
    • View Profile
Re: Letsencrypt is creating certificates but not opening https
« Reply #23 on: 2016-06-22, 07:49:45 »
The lines you asked to add are already in the file `/etc/services`.

Offline aamirrajpoot

  • Valuable Member
  • *
  • Posts: 54
  • Karma: +0/-0
    • View Profile
Re: Letsencrypt is creating certificates but not opening https
« Reply #24 on: 2016-06-22, 09:17:49 »
Dear MR.

I am stuck and still not able to open 443 port

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Letsencrypt is creating certificates but not opening https
« Reply #25 on: 2016-06-22, 09:35:22 »
It's about something wrong with your OS. Look like begin from iptables where actived by you.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline aamirrajpoot

  • Valuable Member
  • *
  • Posts: 54
  • Karma: +0/-0
    • View Profile
Re: Letsencrypt is creating certificates but not opening https
« Reply #26 on: 2016-06-22, 10:15:02 »
I am not expert, so please tell me what steps I should take.

Offline aamirrajpoot

  • Valuable Member
  • *
  • Posts: 54
  • Karma: +0/-0
    • View Profile
Re: Letsencrypt is creating certificates but not opening https
« Reply #27 on: 2016-06-22, 12:06:11 »
Okay, I have decided to do a clean install. But there are many email accounts and hostings on my server. What is the best way to migrate them to new server, without moving any configuration files

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Letsencrypt is creating certificates but not opening https
« Reply #28 on: 2016-06-22, 14:35:53 »
Using 'backup/restore' feature in Kloxo-MR will be backup all data (including website, database and email).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline aamirrajpoot

  • Valuable Member
  • *
  • Posts: 54
  • Karma: +0/-0
    • View Profile
Re: Letsencrypt is creating certificates but not opening https
« Reply #29 on: 2016-06-22, 14:46:41 »
Great, thank you. Just to be on safe side, will this option also backup the configuration ? There are few issues, like FTP service stops sometime, or when I add a new website I need to fixweb etc.

Will those server settings will also be copied?

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix
Click Here

Page created in 0.07 seconds with 21 queries.

web stats analysis