By default, Wowza listens on 1935. To change it, you need to start with the Wowza config itself, look at:
Specifically, this part: Setting keystore.jks:
Create a self-signed SSL certificate or use existing one.
Copy the certificate file to @WOWZA_DIR@/conf/keystore.jks
Edit @WOWZA_DIR@/conf/VHost.xml:
Uncomment /Root/VHost/HostPortList/HostPort with port 443 for SSL.
/Root/VHost/HostPortList/HostPort/SSLConfig/KeyStorePassword - set the password for your certificate file.
Only then should you change media_servers.ini so the Kaltura side knows to make the requests over these ports, instead of 1935.