Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to install let's encrypt or SSL #75

Open
sihamzsiham opened this issue Jan 2, 2020 · 2 comments
Open

How to install let's encrypt or SSL #75

sihamzsiham opened this issue Jan 2, 2020 · 2 comments

Comments

@sihamzsiham
Copy link

Hello,
How to install certifiact let's encrypt or SSL for a site using Pesk API ?
I can't find a solution.

@fadupla
Copy link

fadupla commented May 11, 2021

Hello,
Since then @sihamzsiham , did you find any solution ?
Thanks

@TimGeDev
Copy link

TimGeDev commented Mar 30, 2022

After encountering the same problem, our team came up with the following solution for enabling letsencrypt SSL (although using cli). It makes use of the cli endpoint offered by the REST JSON api.
$response = Http::timeout(360)->withBasicAuth($user, $pass)->post("https://panel:8443/api/v2/cli/extension/call", [ "params" => [ "--exec", "letsencrypt", "cli.php", "-m", $letsEncryptEmail, "-d", $domainUrl ] ]);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants