acme.sh problem [SOLVED]

Discussion in 'General' started by Rube, Sep 22, 2021.

  1. Rube

    Rube New Member

    Hi all. I have a multiserver ispconfig installation
    I added a new server (web/mail) but i have acme.sh problems:
    certificate are created but they are not copied into /var/www/[domain]/ssl and apache vhost do not add ssl configuration.
    if i try to execute
    /usr/local/ispconfig/server/server.sh
    it says:

    sh: 1: [[: not found
    sh: 1: 2: not found
    sh: 1: [[: not found
    finished server.php.



    if i copy /root/.acme.sh/[domain]/fullchain.cer to /var/www/[domain]/ssl/[domain]-le.crt
    and /root/.acme.sh/[domain]/[domain].key to /var/www/[domain]/ssl/[domain]-le.key manually
    and execute /usr/local/ispconfig/server/server.sh
    it add SSL section in apache vhost conf and all works fine.

    Anyone has / had this problem?
    How i can fix?

    Thankyou
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You missed switching off dash shell so that it does not replace bash, see perfect server guides.
     
    ahrasis and Rube like this.

Share This Page