mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
security/acme-client: fix path for pf config files
This commit is contained in:
@@ -18,6 +18,7 @@ Added:
|
||||
Fixed:
|
||||
* fix SFTP upload (#2671)
|
||||
* fix PHP error when acme.sh deploy hook returns an error (#2674)
|
||||
* fix path for storing pf config files when using HTTP-01
|
||||
|
||||
3.5
|
||||
|
||||
|
||||
+3
-1
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* Copyright (C) 2020 Frank Wall
|
||||
* Copyright (C) 2020-2021 Frank Wall
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -42,6 +42,8 @@ class HttpOpnsense extends Base implements LeValidationInterface
|
||||
{
|
||||
public function prepare()
|
||||
{
|
||||
$configdir = (string)sprintf(self::ACME_CONFIG_DIR, $this->cert_id);
|
||||
|
||||
// Get configured HTTP port for local lighttpd server.
|
||||
$configObj = Config::getInstance()->object();
|
||||
$local_http_port = $configObj->OPNsense->AcmeClient->settings->challengePort;
|
||||
|
||||
Reference in New Issue
Block a user