diff --git a/hooks/templates/config_custom.php.erb b/hooks/templates/config_custom.php.erb
index 7e6a81cd36f83e65ab13d523974454cadabec8f9..ad8767445bb0ede2a619abcbc0346a344976df34 100644
--- a/hooks/templates/config_custom.php.erb
+++ b/hooks/templates/config_custom.php.erb
@@ -105,7 +105,7 @@ return [
         'api'=>'<%= @replace["foreman-url"] %>', // with ending "/"
         'user'=>'<%= @replace["foreman-user"] %>',
         'password'=>'<%= @replace["foreman-password"] %>',
-        'ignore-ssl-error'=><%= @replace["ignore-ssl-error"] %>,
+        'ignore-ssl-error'=><%= @replace["foreman-ignore-ssl-error"] %>,
         // 'varname-replace'=>'ci-replacement',
     ),