Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CentralNic
pepper
Commits
a39f1970
Commit
a39f1970
authored
Sep 24, 2015
by
Gavin Brown
Browse files
Use Mozila::CA to validate server certificates
parent
3f629143
Changes
1
Hide whitespace changes
Inline
Side-by-side
pepper
View file @
a39f1970
...
...
@@ -8,6 +8,7 @@ use Getopt::Long;
use
Text::
ParseWords
;
use
Pod::
Usage
;
use
File::
Temp
qw(tmpnam)
;
use
Mozilla::
CA
;
use
strict
;
my
$opt
=
{};
...
...
@@ -64,6 +65,7 @@ my $epp = Net::EPP::Simple->new(
'
login
'
=>
undef
,
'
reconnect
'
=>
0
,
'
verify
'
=>
(
$opt
->
{'
insecure
'}
?
undef
:
1
),
'
ca_file
'
=>
Mozilla::CA::
SSL_ca_file
(),
);
my
$term
=
Term::
ReadLine
->
new
('
pepper
');
...
...
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