Does support HTTPS connection?

Document ID : KB000117374
Last Modified Date : 11/10/2018
Show Technical Document Details
Spectrum 10.3 comes with a new interesting tool that should be launched as:
./ <device model handle> <OneClick host name> <port> 
Now, if you specify a "wrong" port or the SSL port 443 the script will fail to discover the notification traps of MIB files.
The the trap_detail_<mh>.csv file will contain “No Traps Found” for all mibs. 

Does the support OneClick web server with Secure Sockets Layer (SSL) protocol enabled?
Spectrum 10.3
The script code of script  that extracts the traps from the mib files is the following:
foreach my $mibName(keys %array_mib) 

my $server_endpoint = "http://$HostName:$Port/spectrum/mib/getMibInfo?name=$array_mib{$mibName}&landscape=$query_landscape"; 
#print "Fetching data for mib $mibName ..."; 
my $req = HTTP::Request->new(GET => $server_endpoint); 

$req->header('content-type' => 'application/xml'); 
$req->header('accept' => 'application/json'); 

my $resp = $ua->request($req); 

open( my $OUT_FILE1, ">>$outputTrapFileName") or die "Could not open file '$outputFileName' $!"; 
if ($resp->is_success) 
So the script is expecting an "http://$HostName...."  connection where:

$HostName is OC server hostname 
$Port is the OC tomcat port 

but even if if you modify the script to have:

my $server_endpoint = "https://$HostName:$Port/spectrum/mib/getMibInfo?name=$array_mib{$mibName}&landscape=$query_landscape"; 

the script will fail to extract the traps because currently the has limitation in running with https.

The support of HTTPS has been planned for the next Spectrum version.