I have hard time connecting my domain. firstly it will work but after some time it will stop working. I use zerossl for my ssl
Can u share more info on error , error from console or webpage
2025/04/22 18:13:09 http: TLS handshake error from 91.193.xxx.209:26645: remote error: tls: unknown certificate
2025/04/22 18:13:10 http: TLS handshake error from 91.193.xxx.209:48153: remote error: tls: unknown certificate
time=“2025-04-22T18:13:12Z” level=info msg=“91.193.xxx.209 - - [22/Apr/2025:18:13:10 +0000] "GET /api/campaigns/17/results?{} HTTP/2.0" 200 230556 "https://69.62.xxx.142:3636/campaigns/17\” "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36""
here is my config
{
“admin_server”: {
“listen_url”: “0.0.0.0:3636”,
“use_tls”: true,
“cert_path”: “gophish_admin.crt”,
“key_path”: “gophish_admin.key”
},
“phish_server”: {
“listen_url”: “0.0.0.0:8080”,
“use_tls”: true,
“cert_path”: “gophish_template.crt”,
“key_path”: “gophish_template.key”
}
}
i use cloudflare for the domain
looks like bad certs , remove certs dir completely and try again ,
locate certmagic folder and delete . and use lets encrypt certs
is there a way to use let encrypt on my server for another domain without affecting my eviginx setup?
Any solution to this?
yes , just replicate same binary on new server and configure new domain there
I have fixed it boss, i think my problem was using port 8080 while connected to cloudflare and i can’t use 433 because it is already in use on that same server. Once i change it to 8443 boom it started working
Please. I am tired it stop working again
I found final solution. Firstly i look for supported port on cloudflare that support https:// since i have 443 in use before on the server so i use port 2083 and 8443
{
“admin_server”: {
“listen_url”: “0.0.0.0:2083”,
“use_tls”: true,
“cert_path”: “gophish_admin.crt”,
“key_path”: “gophish_admin.key”
},
“phish_server”: {
“listen_url”: “0.0.0.0:8443”,
“use_tls”: true,
“cert_path”: “gophish_template.crt”,
“key_path”: “gophish_template.key”
}
} this is how my config look like
Make sure you off the proxy as cloudflare change the header and that can cause forbidden referer invalid when you want to login
I used Hostinger vps, domain and smtp to set up gophish. Anytime I run campaign and I open the email, it opens gophish instead of the phishing site. I have tried to find why but can’t get it
Do you add correct phishing link and in your message do you put {{.URL}}. This is for evilginx + gophish.