Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pve-manager
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
pve-manager
Commits
93061f53
Commit
93061f53
authored
Mar 21, 2013
by
Dietmar Maurer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add comment about why we do not use the CA file
parent
a7f44ea4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
REST.pm
PVE/REST.pm
+3
-0
No files found.
PVE/REST.pm
View file @
93061f53
...
@@ -205,7 +205,10 @@ sub proxy_handler {
...
@@ -205,7 +205,10 @@ sub proxy_handler {
debug_msg
("
proxy start
$method
$host
:
$abs_uri
");
debug_msg
("
proxy start
$method
$host
:
$abs_uri
");
my
$ua
=
LWP::
UserAgent
->
new
(
my
$ua
=
LWP::
UserAgent
->
new
(
# keep it simple - we are on internal network, and use tickets
ssl_opts
=>
{
verify_hostname
=>
0
},
ssl_opts
=>
{
verify_hostname
=>
0
},
# using the pve root CA file would be another option
# ssl_opts => { verify_hostname => 1 , SSL_ca_file => "/etc/pve/pve-root-ca.pem },
protocols_allowed
=>
[
'
http
',
'
https
'
],
protocols_allowed
=>
[
'
http
',
'
https
'
],
timeout
=>
30
,
timeout
=>
30
,
);
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment