ussl module for Raspberry Pico W #9222
Replies: 3 comments 13 replies
-
@IanW6374 the cert validation is still under development and is not supported on the release version (1.19.1). There is some support in the nightly/unstable versions. Which version of MicroPython are you using? Which documentation are you following? See https://docs.micropython.org/en/latest/library/ssl.html for valid arguments to wrap_socket (note that this doesn't quite match CPython, we're working on adding support for a CPython-compatible SSLContext). See also example here: |
Beta Was this translation helpful? Give feedback.
-
ThxI'll checkThxEnvoyé depuis mon appareil Galaxy
-------- Message d'origine --------De : sophiedegran ***@***.***> Date : 30/12/2023 21:19 (GMT+01:00) À : micropython/micropython ***@***.***> Cc : JMFUS ***@***.***>, Mention ***@***.***> Objet : Re: [micropython/micropython] ussl module for Raspberry Pico W (Discussion #9222)
Ok don't know about filezilla but have a look on the wiki or the forum of filezilla you will have the answer...
After don't forger to convert to DER and to have the ip adress define in your cert
I'm sure you will do it ;)
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hello resp : 150 Starting data transfer. The problem is in this function :
in the ftplibtls library I'm using, at the line : sock = ussl.wrap_socket(conn, ........ An idea? Thx |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
I am trying to create a TLS connection to a remote server (Pico W with MicroPython) but having issue trying to define the ssl parameters. The ssl parameters are stored in the "sslparams" dictionary object but I get "TypeError: extra keyword arguments given" if I try anything other than None for the certificates.
I have tried loading the certificate into a variable and defining the certificate path to no avail - Is there any information on what is supported on the RP2 port of ussl??
Any tips would be gratefully received :)
Sample code is attached
samplecode.txt
Beta Was this translation helpful? Give feedback.
All reactions