Option to disable SSL Certificates? #304

Closed
opened 2022-12-26 09:03:51 +00:00 by gameplayer · 5 comments

Heyo,

Is there an option to disable SSL certificates verification (because of OpenNIC, Tor, I2P, whatever~)?

Heyo, Is there an option to disable SSL certificates verification (because of OpenNIC, Tor, I2P, whatever~)?
Owner

There is no such option in Foundkey and I do not intend to add one. There is a node.js environment variable but I did not test if it works for Foundkey.

NODE_TLS_REJECT_UNAUTHORIZED=value

If value equals '0', certificate validation is disabled for TLS connections. This makes TLS, and HTTPS by extension, insecure. The use of this environment variable is strongly discouraged.

There is no such option in Foundkey and I do not intend to add one. There is [a node.js environment variable](https://nodejs.org/api/cli.html#node_tls_reject_unauthorizedvalue) but I did not test if it works for Foundkey. > `NODE_TLS_REJECT_UNAUTHORIZED=value` > > If value equals `'0'`, certificate validation is disabled for TLS connections. This makes TLS, and HTTPS by extension, insecure. The use of this environment variable is strongly discouraged.
Author

It works, but only partially. Fetching images between i.e. two FoundKeys doesn't work.

It works, but only partially. Fetching images between i.e. two FoundKeys doesn't work.
Author

image

![image](/attachments/c7dec5cc-d410-4ca0-a927-00281377ccf7)
Author

image

![image](/attachments/5c9bbee8-9769-400c-b142-ada9ea6abe01)
Owner

The environment variable for node.js will only affect the server part.

The environment variable for node.js will only affect the server part.
Sign in to join this conversation.
No labels
feature
fix
upkeep
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: FoundKeyGang/FoundKey#304
No description provided.