Ffmpeg streaming

I generated my stream using ffmpeg with protocol rtsp

i generated a key with openssl with this command

sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /home/pi/SSL/httpd-selfsigned.key -out /home/pi/SSL/httpd-selfsigned.crt

the software generated two files: a key and a certificate.

How can i insert this files in the encoder (ffmpeg)?

The stream command is this:

./ffmpeg -re -i prova.mp4 -c:v h264_nvmpi -b:v 4000k -r 30 -ac 1 -ar 44100 -f rtsp -rtsp_transport tcp rtsp://x.x.x.x:443/live/a

Hi,
The question is specific to using ffmpeg. May need ffmpeg experts to share you experience.
Looks like there is no official forum for ffmpeg. You may check
http://ffmpeg.org/contact.html

We have enabled hardware acceleration in video decoding. Please check development guide.