SSL Server socket with micropythen pico #13534
Unanswered
sishari
asked this question in
RP2040 / Pico
Replies: 3 comments 12 replies
-
Hi |
Beta Was this translation helpful? Give feedback.
7 replies
-
|
Beta Was this translation helpful? Give feedback.
2 replies
-
@sishari try this instead
or even better Use elliptic curve key/cert pairs:
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Can anybody help me!
I'm trying to create an SSL server socket with following:
context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
context.load_cert_chain("my.crt", "my.key")
After this line i get allways:
ValueError: invalid key
loop = asyncio.get_event_loop()
loop.create_task(asyncio.start_server(serve, "0.0.0.0", 80,ssl = context))
I dont know what is the problem...
Beta Was this translation helpful? Give feedback.
All reactions