knock icon indicating copy to clipboard operation
knock copied to clipboard

Error SSL peer certificate or SSH remote key was not OK

Open tetchel opened this issue 2 years ago • 3 comments

Hi, I've used this tool in the past, but recently it appears to have stopped working.

[ /tim/downloads/ebooks ] 24 $ ./knock-1.2.0-x86_64-linux URLLink.acsm
downloading the file from Adobe...
error:
Exception code : 0x500a
Message        : Error SSL peer certificate or SSH remote key was not OK

I tried 1.1.0, and some other .ascm files, but got the same message.

Do you have any clue what it means? Is it using some server that needs to update its SSL cert? :)

tetchel avatar Aug 31 '22 16:08 tetchel

Maybe you caught it just between Adobe's certs expiring and them replacing them? Is it still saying the same?

BentonEdmondson avatar Sep 04 '22 01:09 BentonEdmondson

Still the same error

tetchel avatar Sep 05 '22 16:09 tetchel

Me too. Am using a throwaway EC2 with the AWS Linux 2 AMI -- amazon/amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-x86_64-gp2

[ec2-user@ip-10-100-32-130 ~]$ ./knock book.acsm
anonymously signing in...
downloading the file from Adobe...
error:
Exception code : 0x500a
Message        : Error SSL peer certificate or SSH remote key was not OK

mmcgrath avatar Sep 21 '22 16:09 mmcgrath

Same error using RockyLinux 8 on WSL2.

bendem avatar Oct 19 '22 12:10 bendem

I have tried with libgourou's container and I could make it work after fully disabling my proxy.

> podman run \
    -v $PWD/.adept:/home/libgourou/.adept \
    -it --entrypoint /bin/bash \
    bcliang/docker-libgourou

root@0e7e4acbc7db:/home/libgourou# adept_activate -a
!! Warning !! : /home/libgourou/./.adept already exists.
All your data will be overwrite. Would you like to continue ? [y/N] y
anonymous fully signed and device activated in /home/libgourou/./.adept

root@0e7e4acbc7db:/home/libgourou# acsmdownloader -f .adept/URLLink.acsm
Exception code : 0x500b
Message        : Error SSL peer certificate or SSH remote key was not OK

root@0e7e4acbc7db:/home/libgourou# http_proxy= acsmdownloader -f .adept/URLLink.acsm
Exception code : 0x500b
Message        : Error SSL peer certificate or SSH remote key was not OK

root@0e7e4acbc7db:/home/libgourou# https_proxy= acsmdownloader -f .adept/URLLink.acsm
Download 100%

The same trick didn't work with knock.

bendem avatar Oct 19 '22 12:10 bendem

I get the same error, and trying with previous version of knock it gives this error instead:

Exception code : 0x1003
Message        : E_GOOGLE_DEVICE_LIMIT_REACHED http://books.google.com/books/acs4/fulfillment

So this is probably an error when you already have the book on several devices?

lexoyo avatar Nov 02 '22 11:11 lexoyo

same here with version 1.3.1, in ubuntu aarch64 container

anonymously signing in...
downloading the file from Adobe...
error:
Exception code : 0x500a
Message        : Error SSL peer certificate or SSH remote key was not OK

hoishing avatar Nov 06 '22 18:11 hoishing