![]() |
#1 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Nov 2021
Device: Kobo Libra H2O
|
x509 error on Kobo
I am currently working on a homebrew app for the Kobo Libra H20. Whenever I try to make a web request, I get a x509 error. Something to do with certificate validation apparently.
My app is written in Go. In order to successfully make a web request, I need to do this: Code:
func GetHttpClient() *http.Client { transport := &http.Transport{ TLSClientConfig: &tls.Config{InsecureSkipVerify: true}, } return &http.Client{ Timeout: time.Second * 5, Transport: transport, } } |
![]() |
![]() |
![]() |
#2 |
Junior Member
![]() ![]() Posts: 9
Karma: 150
Join Date: Oct 2021
Device: Kobo Clara HD
|
You will have to integrate certificates into the Kobo device with your app.
I've managed that in KoboMail by bundling the certificates and then placing them where Go looks for them: https://github.com/clisboa/KoboMail/...onfig_setup.sh The file is got from here: https://curl.se/docs/caextract.html Hope this helps. |
![]() |
![]() |
![]() |
#3 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Nov 2021
Device: Kobo Libra H2O
|
Thanks, that did the trick!
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kobo - I/O error | skittleys | Devices | 14 | 01-15-2019 03:36 PM |
Kobo Connecting Error | rcentros | Devices | 4 | 03-20-2018 07:48 PM |
kobo desktop error | LouLouLe | Kobo Reader | 1 | 12-10-2011 03:42 PM |
Kobo interface error | Stinger | Devices | 3 | 09-25-2011 11:40 AM |
Kobo error | wolfsbayne | Devices | 3 | 07-20-2011 02:33 AM |