Project

General

Profile

Bug #23291

Updated by Arend Lapere almost 6 years ago

Steps to reproduce: 
 1) Have a smart-proxy with templates feature 
 2) Set template_url to use http in /etc/smart-proxy/settings.d/templates.yml 
 3) Assign the proxy to a subnet as template proxy 
 4) Try to provision a host in subnet from step 3 

 Actual result: 
 The host tries to access the proxy over the https and fails because CA used to signed the proxy's certificate is not trusted 

 Expected result: 
 template_url is honored and provisioning doesn't fail 

 After observing the log, we noticed that the base url is trying to access the templateServer API on the wrong URL: https://<proxy>:8443/unattended*/unattended* while it should be https://<proxy>:8443/unattended

Back