Jump to content

https error acme/autocert missing


sweeper707

Recommended Posts

Hi @sweeper707,

When using the -https flag, you'll need to specify a DNS name inside of the -hostname argument.

The other thing you'll see from time to time is the TLS handshake errors or in general TLS errors. That's because you'll likely start being scanned by vulnerability scanners which try some common TLS vulnerabilities (none of which the server is affected by of course). 

Link to comment
Share on other sites

3 hours ago, Br@d said:

I'm running into a similar issue but I also get some additional info... is there any documentation around the let's encrypt process?

 

1.PNG

This is what I did but your is showing an i/o timeout issue.  So make sure all the below is correct.

  1. Get a Public IP such as (64.15.17.23) for your server
  2. Get a public domain and point the dns record such as "cave.domain.com" to the IP 64.15.17.23
  3. Allow the DNS propagation to take plus I usually wait around 24 hours as Let's Encrypt DNS seems to be delayed a bit
  4. Ensure your servers firewall inbound rules allow "http (80) and https (443)" 
  5. run the server using the following syntax like    ./c2_community64 -hostname="cave.domain.com" -https

 

Edited: added last step #5.

Edited by sweeper707
Link to comment
Share on other sites

  • 1 year later...
  • 11 months later...

Hello,

Recently buy WIFI Pineapple and configure c2 cloud community im facing below issue, please assist how to fix it.

========================================================================================

root@srvDebian01:/home/dennis/tmp# ./c2-3.0.1_amd64_linux -hostname srvDebian01 -https
[*] Initializing Hak5 Cloud C2 v3.0.1
[*] Hostname: srvDebian01
[*] DB Path: c2.db
[*] First Start. Initializing...
[*] Initial Setup Required - Setup token: XXX - XXX -XXXX
2020/11/14 00:12:09 http: TLS handshake error from 192.168.10.184:55758: acme/autocert: missing server name
2020/11/14 00:12:09 http: TLS handshake error from 192.168.10.184:55759: acme/autocert: missing server name
2020/11/14 00:12:10 http: TLS handshake error from 192.168.10.184:55763: acme/autocert: missing server name
=========================================================================================

Link to comment
Share on other sites

Hi Chrizree,

Thank you very much, I really really appreciate your response.

Yes your correct I just tried to simulate/ install first on my local network first. Its fine if we can test on locally right?

I will try your suggestion , thank again for that information.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...