Skip to content

Calling https with self signed certificate #78

Closed Answered by dxdc
Flyfi2011 asked this question in Q&A
Discussion options

You must be logged in to vote

@Flyfi2011 you can achieve this by adding the rejectUnauthorized key to your config, and setting it to false.

For example:

    "up_url": {
        "url": "http://1.2.3.4/window/up?pos=%%POS%%",
        "body": "{}",
        "headers": {
            "API-Token": "aaabbbcccddd"
        },
        "method": "PUT",
        "maxAttempts": 5,
        "retryDelay": 2000,
        "time": true,
        "rejectUnauthorized": false
    },

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Flyfi2011
Comment options

Answer selected by dxdc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants