Metilda has asked for the wisdom of the Perl Monks concerning the following question:
Please help to convert this C# code to perl
var client = new RestClient("url"); var request = new RestRequest(Method.PUT); // Create SSL certificate // Certificate CN name is used to authenticate with Secure Gateway string certificateFile = "<SSL_Certificate>.pfx"; var certificate = new X509Certificate(certificateFile); client.ClientCertificates = new X509CertificateCollection(); client.ClientCertificates.Add(certificate);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: convert C# to perl script
by Corion (Patriarch) on Sep 18, 2018 at 07:58 UTC | |
by Metilda (Initiate) on Sep 18, 2018 at 08:12 UTC | |
by hippo (Archbishop) on Sep 18, 2018 at 08:21 UTC | |
by Corion (Patriarch) on Sep 18, 2018 at 08:14 UTC |