Hi,
for an unsecure deployment a.t.m i had to reconcile the following part of bookstack-sitemap-generator to avoid throwing exception of the script:
$opts = [
'http' => [
'header' => "Authorization: Token {$clientId}:{$clientSecret}"
],
'ssl' => [
'verify_peer' => false,
'allow_self_signed'=> true ]
];
maybe its worth to add this as export BS_INSECURE or similar, to allow requests to untrusted certs