Skip to content

Is there a parameter to ignore tls verification on read of source ? #3762

Closed Answered by aler9
chddv asked this question in Questions
Discussion options

You must be logged in to vote

yes, the option is called sourceFingerprint and is documented in the configuration file:

mediamtx/mediamtx.yml

Lines 428 to 433 in f9162b2

# If the source is a URL, and the source certificate is self-signed
# or invalid, you can provide the fingerprint of the certificate in order to
# validate it anyway. It can be obtained by running:
# openssl s_client -connect source_ip:source_port </dev/null 2>/dev/null | sed -n '/BEGIN/,/END/p' > server.crt
# openssl x509 -in server.crt -noout -fingerprint -sha256 | cut -d "=" -f2 | tr -d ':'
sourceFingerprint:

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by chddv
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants