I could be wrong on this but I don’t believe Crypt::OpenSSL by itself is a 
thing. This might be related needing to install individual modules for it.

Assuming you are using homebrew on Mac, and OpenSSL is installed using homebrew 
(if not run ' brew install openssl@3' in shell), install the Guess module on 
Mac first (Net::SSLeay is there to make sure it is installed):

#cpanm Net::SSLeay
#cpanm Crypt::OpenSSL::Guess

Then install these additional ones:

#cpanm Crypt::OpenSSL::Bignum
#cpanm Crypt::OpenSSL::Random
#cpanm Crypt::OpenSSL::DSA
#cpanm Crypt::OpenSSL::RSA

Here is my Windows output (shouldn't matter the OS):

C:\Users\kalpesh>cpanm --showdeps Crypt::OpenSSL Crypt::OpenSSL::RSA 
Crypt::OpenSSL::DSA
! Finding Crypt::OpenSSL on cpanmetadb failed.
! Finding Crypt::OpenSSL () on mirror http://www.cpan.org failed.
! Couldn't find module or a distribution Crypt::OpenSSL
--> Working on Crypt::OpenSSL::RSA
Fetching 
http://www.cpan.org/authors/id/T/TI/TIMLEGGE/Crypt-OpenSSL-RSA-0.41.tar.gz ... 
OK
Configuring Crypt-OpenSSL-RSA-0.41 ... OK
Crypt::OpenSSL::Guess~0.11
Crypt::OpenSSL::Random
ExtUtils::MakeMaker
Test::More
Crypt::OpenSSL::Bignum
perl~5.006
--> Working on Crypt::OpenSSL::DSA
Fetching http://www.cpan.org/authors/id/K/KM/KMX/Crypt-OpenSSL-DSA-0.20.tar.gz 
... OK
Configuring Crypt-OpenSSL-DSA-0.20 ... OK
ExtUtils::MakeMaker~6.58
perl~5.006
ExtUtils::MakeMaker

C:\Users\kalpesh>

Hope that works.

-----Original Message-----
From: Peter Lamb <[email protected]> 
Sent: Sunday, July 12, 2026 8:33 PM
To: Bruce Schuck <[email protected]>; GnuCash User eMail List 
<[email protected]>
Subject: Re: [GNC] Access problems fetching shares prices from, Australian 
Stock Exchange

Hi, Bruce, John.

I tried just updating Net::SSLeay (to 1.96). It didn't help.

When I tried to update Crypt::OpenSSL, I got:

    % sudo cpan Crypt::OpenSSL
    Reading '/Users/prl/.cpan/Metadata'
       Database was generated on Sun, 12 Jul 2026 23:41:02 GMT
    Could not expand [Crypt::OpenSSL]. Check the module name.
    I can suggest names if you install one of Text::Levenshtein::XS,
    Text::Levenshtein::Damerau::XS, Text::Levenshtein, and
    Text::Levenshtein::Damerau::PP
    and you provide the -x option on invocation.
    Skipping Crypt::OpenSSL because I couldn't find a matching namespace.
    %

And Perl itself denies that it knows anything about Crypt::OpenSSL:

    % perl -mCrypt::OpenSSL
    Can't locate Crypt/OpenSSL.pm in @INC (you may need to install the
    Crypt::OpenSSL module) (@INC contains:
    /Library/Perl/5.34/darwin-thread-multi-2level /Library/Perl/5.34
    /Network/Library/Perl/5.34/darwin-thread-multi-2level
    /Network/Library/Perl/5.34
    /Library/Perl/Updates/5.34.1/darwin-thread-multi-2level
    /Library/Perl/Updates/5.34.1
    /System/Library/Perl/5.34/darwin-thread-multi-2level
    /System/Library/Perl/5.34
    /System/Library/Perl/Extras/5.34/darwin-thread-multi-2level
    /System/Library/Perl/Extras/5.34).
    BEGIN failed--compilation aborted.
    %

Both done with my PERLLIB unset in the shell I ran the commands from.

This is despite the fact that Crypt/OpenSSL exists in a number of of 
Perl's @INC directories.

Cheers,
Peter

On 13/7/2026 05:07, Bruce Schuck wrote:
> On 7/12/26 11:53, John Ralls wrote:
>
>
>> Assuming that the problem is with SSL, either TLS level or a
>> certificate problem, what should Peter upgrade? Crypt::OpenSSL ?
> John,
>
> I'd try updating Net::SSLeay first, but both would not hurt.
>
> But as you earlier noted, multiple Perl instances could be a culprit. 
> Or worse, if someone played around with using $PERL5LIB to install 
> modules in a custom location.
>
> Bruce S
>


_______________________________________________
gnucash-user mailing list
[email protected]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to