Not accept key file video streaming
I want to stream video securely and I am using ubuntu
console1
/home/ajithmsm/ffmpeg -stream_loop -1 -i out.mp4 -vcodec copy -f mpegts tls://127.0.0.1:2222?listen'&'cert=domain.crt'&'key=domain.key
console2
ffplay tls://127.0.0.1:2222
I use this command to create crt and key
openssl req -newkey rsa:2048 -nodes -keyout domain.key -x509 -days 365 - out domain.crt
sudo cp test.crt /usr/local/share/ca-certificates/
sudo update-ca-certificates
It's streaming perfectly my problem was I am not send any key or crt file to another system but the video was streaming.
I don't know the video was encrypted,
whether there is encrypted video then how the video will play with out key
Any one knows how to send the commands and tell what's the problem with these commands and how do I stream video ffmpeg using tls
ffmpeg openssl video-streaming tls
add a comment |
I want to stream video securely and I am using ubuntu
console1
/home/ajithmsm/ffmpeg -stream_loop -1 -i out.mp4 -vcodec copy -f mpegts tls://127.0.0.1:2222?listen'&'cert=domain.crt'&'key=domain.key
console2
ffplay tls://127.0.0.1:2222
I use this command to create crt and key
openssl req -newkey rsa:2048 -nodes -keyout domain.key -x509 -days 365 - out domain.crt
sudo cp test.crt /usr/local/share/ca-certificates/
sudo update-ca-certificates
It's streaming perfectly my problem was I am not send any key or crt file to another system but the video was streaming.
I don't know the video was encrypted,
whether there is encrypted video then how the video will play with out key
Any one knows how to send the commands and tell what's the problem with these commands and how do I stream video ffmpeg using tls
ffmpeg openssl video-streaming tls
add a comment |
I want to stream video securely and I am using ubuntu
console1
/home/ajithmsm/ffmpeg -stream_loop -1 -i out.mp4 -vcodec copy -f mpegts tls://127.0.0.1:2222?listen'&'cert=domain.crt'&'key=domain.key
console2
ffplay tls://127.0.0.1:2222
I use this command to create crt and key
openssl req -newkey rsa:2048 -nodes -keyout domain.key -x509 -days 365 - out domain.crt
sudo cp test.crt /usr/local/share/ca-certificates/
sudo update-ca-certificates
It's streaming perfectly my problem was I am not send any key or crt file to another system but the video was streaming.
I don't know the video was encrypted,
whether there is encrypted video then how the video will play with out key
Any one knows how to send the commands and tell what's the problem with these commands and how do I stream video ffmpeg using tls
ffmpeg openssl video-streaming tls
I want to stream video securely and I am using ubuntu
console1
/home/ajithmsm/ffmpeg -stream_loop -1 -i out.mp4 -vcodec copy -f mpegts tls://127.0.0.1:2222?listen'&'cert=domain.crt'&'key=domain.key
console2
ffplay tls://127.0.0.1:2222
I use this command to create crt and key
openssl req -newkey rsa:2048 -nodes -keyout domain.key -x509 -days 365 - out domain.crt
sudo cp test.crt /usr/local/share/ca-certificates/
sudo update-ca-certificates
It's streaming perfectly my problem was I am not send any key or crt file to another system but the video was streaming.
I don't know the video was encrypted,
whether there is encrypted video then how the video will play with out key
Any one knows how to send the commands and tell what's the problem with these commands and how do I stream video ffmpeg using tls
ffmpeg openssl video-streaming tls
ffmpeg openssl video-streaming tls
edited Jan 2 at 8:35
Ahmed Ashour
1,3201714
1,3201714
asked Jan 2 at 6:26
msmmsm
1
1
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
If you read the documentation you see that you need to add ?tls_verify=1
to the ffplay
client command in order for it to verify the certificate sent by the server:
If enabled, try to verify the peer that we are communicating with.
...
This is disabled by default since it requires a CA database to be provided by the caller in many cases.
If you enable it, you should get errors as you say the certificate isn't installed on the client.
Note: I've not tested my answer :-)
– garethTheRed
Jan 2 at 16:20
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1389681%2fnot-accept-key-file-video-streaming%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
If you read the documentation you see that you need to add ?tls_verify=1
to the ffplay
client command in order for it to verify the certificate sent by the server:
If enabled, try to verify the peer that we are communicating with.
...
This is disabled by default since it requires a CA database to be provided by the caller in many cases.
If you enable it, you should get errors as you say the certificate isn't installed on the client.
Note: I've not tested my answer :-)
– garethTheRed
Jan 2 at 16:20
add a comment |
If you read the documentation you see that you need to add ?tls_verify=1
to the ffplay
client command in order for it to verify the certificate sent by the server:
If enabled, try to verify the peer that we are communicating with.
...
This is disabled by default since it requires a CA database to be provided by the caller in many cases.
If you enable it, you should get errors as you say the certificate isn't installed on the client.
Note: I've not tested my answer :-)
– garethTheRed
Jan 2 at 16:20
add a comment |
If you read the documentation you see that you need to add ?tls_verify=1
to the ffplay
client command in order for it to verify the certificate sent by the server:
If enabled, try to verify the peer that we are communicating with.
...
This is disabled by default since it requires a CA database to be provided by the caller in many cases.
If you enable it, you should get errors as you say the certificate isn't installed on the client.
If you read the documentation you see that you need to add ?tls_verify=1
to the ffplay
client command in order for it to verify the certificate sent by the server:
If enabled, try to verify the peer that we are communicating with.
...
This is disabled by default since it requires a CA database to be provided by the caller in many cases.
If you enable it, you should get errors as you say the certificate isn't installed on the client.
answered Jan 2 at 16:19
garethTheRedgarethTheRed
1,945911
1,945911
Note: I've not tested my answer :-)
– garethTheRed
Jan 2 at 16:20
add a comment |
Note: I've not tested my answer :-)
– garethTheRed
Jan 2 at 16:20
Note: I've not tested my answer :-)
– garethTheRed
Jan 2 at 16:20
Note: I've not tested my answer :-)
– garethTheRed
Jan 2 at 16:20
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1389681%2fnot-accept-key-file-video-streaming%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown