Skip to content

How to install let's encrypt or SSL #75

Open

Description

@sihamzsiham

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

Activity

  1. fadupla commented on May 11, 2021

    @fadupla

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

  2. TimGeDev commented on Mar 30, 2022

    @TimGeDev

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions