Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: configuring wowza3 with wildcard certificate for RTMPS support

  1. #1
    Join Date
    Apr 2009
    Posts
    8

    Default configuring wowza3 with wildcard certificate for RTMPS support

    Hi

    I have a wild card ssl certificate we got for our domain. I used openssl to import the certificates into a java keystore and configured it in the conf file for wowza.

    But when i try to connect to the server using rtmps i get the NetConnection.Connect.SSLHandshakeFailed on the client side. and on the server side logs this shows up


    2012-09-07      23:34:11        UTC     -       -       -       -       -       -       -       -       -       13.95   -       - -        -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       - -        -       -       -       -       -
    org.apache.mina.common.IoFilterLifeCycleException: onPreAdd(): sslFilter:org.apache.mina.filter.SSLFilter@30605329 in (SOCKET, R: /140.242.210.2:44679, L: /10.251.202.177:443, S: 0.0.0.0/0.0.0.0:443)
            at org.apache.mina.common.support.AbstractIoFilterChain.register(Unknown Source)
            at org.apache.mina.common.support.AbstractIoFilterChain.addLast(Unknown Source)
            at org.apache.mina.common.DefaultIoFilterChainBuilder.buildFilterChain(Unknown Source)
            at org.apache.mina.transport.socket.nio.SocketAcceptor$Worker.processSessions(Unknown Source)
            at org.apache.mina.transport.socket.nio.SocketAcceptor$Worker.run(Unknown Source)
            at org.apache.mina.util.NamePreservingRunnable.run(Unknown Source)
            at java.lang.Thread.run(Thread.java:722)
    Caused by: java.lang.IllegalArgumentException: https
            at sun.security.ssl.ProtocolVersion.valueOf(ProtocolVersion.java:164)
            at sun.security.ssl.ProtocolList.convert(ProtocolList.java:84)
            at sun.security.ssl.ProtocolList.<init>(ProtocolList.java:52)
            at sun.security.ssl.SSLEngineImpl.setEnabledProtocols(SSLEngineImpl.java:2043)
            at org.apache.mina.filter.support.SSLHandler.init(Unknown Source)
            at org.apache.mina.filter.support.SSLHandler.<init>(Unknown Source)
            at org.apache.mina.filter.SSLFilter.onPreAdd(Unknown Source)
            ... 7 more
    2012-09-07      23:34:11        UTC     -       -       -       -       -       -       -       -       -       13.95   -       - -        -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       - -        -       -       -       -       -
    org.apache.mina.common.IoFilterLifeCycleException: onPreAdd(): sslFilter:org.apache.mina.filter.SSLFilter@30605329 in (SOCKET, R: /140.242.210.2:53376, L: /10.251.202.177:443, S: 0.0.0.0/0.0.0.0:443)
            at org.apache.mina.common.support.AbstractIoFilterChain.register(Unknown Source)
            at org.apache.mina.common.support.AbstractIoFilterChain.addLast(Unknown Source)
            at org.apache.mina.common.DefaultIoFilterChainBuilder.buildFilterChain(Unknown Source)
            at org.apache.mina.transport.socket.nio.SocketAcceptor$Worker.processSessions(Unknown Source)
            at org.apache.mina.transport.socket.nio.SocketAcceptor$Worker.run(Unknown Source)
            at org.apache.mina.util.NamePreservingRunnable.run(Unknown Source)
            at java.lang.Thread.run(Thread.java:722)
    Caused by: java.lang.IllegalArgumentException: https
            at sun.security.ssl.ProtocolVersion.valueOf(ProtocolVersion.java:164)
            at sun.security.ssl.ProtocolList.convert(ProtocolList.java:84)
            at sun.security.ssl.ProtocolList.<init>(ProtocolList.java:52)
            at sun.security.ssl.SSLEngineImpl.setEnabledProtocols(SSLEngineImpl.java:2043)
            at org.apache.mina.filter.support.SSLHandler.init(Unknown Source)
            at org.apache.mina.filter.support.SSLHandler.<init>(Unknown Source)
            at org.apache.mina.filter.SSLFilter.onPreAdd(Unknown Source)
            ... 7 more
    2012-09-07      23:34:11        UTC     -       -       -       -       -       -       -       -       -       13.95   -       - -        -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       - -        -       -       -       -       -
    org.apache.mina.common.IoFilterLifeCycleException: onPreAdd(): sslFilter:org.apache.mina.filter.SSLFilter@30605329 in (SOCKET, R: /140.242.210.2:38017, L: /10.251.202.177:443, S: 0.0.0.0/0.0.0.0:443)
            at org.apache.mina.common.support.AbstractIoFilterChain.register(Unknown Source)
            at org.apache.mina.common.support.AbstractIoFilterChain.addLast(Unknown Source)
            at org.apache.mina.common.DefaultIoFilterChainBuilder.buildFilterChain(Unknown Source)
            at org.apache.mina.transport.socket.nio.SocketAcceptor$Worker.processSessions(Unknown Source)
            at org.apache.mina.transport.socket.nio.SocketAcceptor$Worker.run(Unknown Source)
            at org.apache.mina.util.NamePreservingRunnable.run(Unknown Source)
            at java.lang.Thread.run(Thread.java:722)
    Caused by: java.lang.IllegalArgumentException: https
            at sun.security.ssl.ProtocolVersion.valueOf(ProtocolVersion.java:164)
            at sun.security.ssl.ProtocolList.convert(ProtocolList.java:84)
            at sun.security.ssl.ProtocolList.<init>(ProtocolList.java:52)
            at sun.security.ssl.SSLEngineImpl.setEnabledProtocols(SSLEngineImpl.java:2043)
            at org.apache.mina.filter.support.SSLHandler.init(Unknown Source)
            at org.apache.mina.filter.support.SSLHandler.<init>(Unknown Source)
            at org.apache.mina.filter.SSLFilter.onPreAdd(Unknown Source)
            ... 7 more
    2012-09-07      23:34:11        UTC     -       -       -       -       -       -       -       -       -       13.95   -       - -        -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       - -        -       -       -       -       -
    org.apache.mina.common.IoFilterLifeCycleException: onPreAdd(): sslFilter:org.apache.mina.filter.SSLFilter@30605329 in (SOCKET, R: /140.242.210.2:31362, L: /10.251.202.177:443, S: 0.0.0.0/0.0.0.0:443)
            at org.apache.mina.common.support.AbstractIoFilterChain.register(Unknown Source)
            at org.apache.mina.common.support.AbstractIoFilterChain.addLast(Unknown Source)
            at org.apache.mina.common.DefaultIoFilterChainBuilder.buildFilterChain(Unknown Source)
            at org.apache.mina.transport.socket.nio.SocketAcceptor$Worker.processSessions(Unknown Source)
            at org.apache.mina.transport.socket.nio.SocketAcceptor$Worker.run(Unknown Source)
            at org.apache.mina.util.NamePreservingRunnable.run(Unknown Source)
            at java.lang.Thread.run(Thread.java:722)
    Caused by: java.lang.IllegalArgumentException: https
            at sun.security.ssl.ProtocolVersion.valueOf(ProtocolVersion.java:164)
            at sun.security.ssl.ProtocolList.convert(ProtocolList.java:84)
            at sun.security.ssl.ProtocolList.<init>(ProtocolList.java:52)
            at sun.security.ssl.SSLEngineImpl.setEnabledProtocols(SSLEngineImpl.java:2043)
            at org.apache.mina.filter.support.SSLHandler.init(Unknown Source)
            at org.apache.mina.filter.support.SSLHandler.<init>(Unknown Source)
            at org.apache.mina.filter.SSLFilter.onPreAdd(Unknown Source)
            ... 7 more
    2012-09-07      23:34:11        UTC     -       -       -       -       -       -       -       -       -       13.95   -       - -        -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       - -        -       -       -       -       -
    org.apache.mina.common.IoFilterLifeCycleException: onPreAdd(): sslFilter:org.apache.mina.filter.SSLFilter@30605329 in (SOCKET, R: /140.242.210.2:44675, L: /10.251.202.177:443, S: 0.0.0.0/0.0.0.0:443)
            at org.apache.mina.common.support.AbstractIoFilterChain.register(Unknown Source)
            at org.apache.mina.common.support.AbstractIoFilterChain.addLast(Unknown Source)
            at org.apache.mina.common.DefaultIoFilterChainBuilder.buildFilterChain(Unknown Source)
            at org.apache.mina.transport.socket.nio.SocketAcceptor$Worker.processSessions(Unknown Source)
            at org.apache.mina.transport.socket.nio.SocketAcceptor$Worker.run(Unknown Source)
            at org.apache.mina.util.NamePreservingRunnable.run(Unknown Source)
            at java.lang.Thread.run(Thread.java:722)
    Caused by: java.lang.IllegalArgumentException: https
            at sun.security.ssl.ProtocolVersion.valueOf(ProtocolVersion.java:164)
            at sun.security.ssl.ProtocolList.convert(ProtocolList.java:84)
            at sun.security.ssl.ProtocolList.<init>(ProtocolList.java:52)
            at sun.security.ssl.SSLEngineImpl.setEnabledProtocols(SSLEngineImpl.java:2043)
            at org.apache.mina.filter.support.SSLHandler.init(Unknown Source)
            at org.apache.mina.filter.support.SSLHandler.<init>(Unknown Source)
            at org.apache.mina.filter.SSLFilter.onPreAdd(Unknown Source)
            ... 7 more
    2012-09-07      23:34:11        UTC     -       -       -       -       -       -       -       -       -       13.95   -       - -        -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       - -        -       -       -       -       -
    org.apache.mina.common.IoFilterLifeCycleException: onPreAdd(): sslFilter:org.apache.mina.filter.SSLFilter@30605329 in (SOCKET, R: /140.242.210.2:31372, L: /10.251.202.177:443, S: 0.0.0.0/0.0.0.0:443)
            at org.apache.mina.common.support.AbstractIoFilterChain.register(Unknown Source)
            at org.apache.mina.common.support.AbstractIoFilterChain.addLast(Unknown Source)
            at org.apache.mina.common.DefaultIoFilterChainBuilder.buildFilterChain(Unknown Source)
            at org.apache.mina.transport.socket.nio.SocketAcceptor$Worker.processSessions(Unknown Source)
            at org.apache.mina.transport.socket.nio.SocketAcceptor$Worker.run(Unknown Source)
            at org.apache.mina.util.NamePreservingRunnable.run(Unknown Source)
            at java.lang.Thread.run(Thread.java:722)
    Caused by: java.lang.IllegalArgumentException: https
            at sun.security.ssl.ProtocolVersion.valueOf(ProtocolVersion.java:164)
            at sun.security.ssl.ProtocolList.convert(ProtocolList.java:84)
            at sun.security.ssl.ProtocolList.<init>(ProtocolList.java:52)
            at sun.security.ssl.SSLEngineImpl.setEnabledProtocols(SSLEngineImpl.java:2043)
            at org.apache.mina.filter.support.SSLHandler.init(Unknown Source)
            at org.apache.mina.filter.support.SSLHandler.<init>(Unknown Source)
            at org.apache.mina.filter.SSLFilter.onPreAdd(Unknown Source)
            ... 7 more
    Any help related to this is much appreciated

  2. #2
    Join Date
    Apr 2009
    Posts
    8

    Default

    Hi

    Anyone from wowza support. Can you help me with this ?

  3. #3
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    I'm not sure. Which guide(s) and other steps did you take?

    Did you try rtmps on another port? Try 80 or 1935.

    rtmps://[wowza-address]:80

    rtmps://[wowza-address]:1935

    Richard

  4. #4
    Join Date
    Apr 2009
    Posts
    8

    Default

    Richard,

    I tried the other ports and still getting the same error. Here is the guides that i used to create the java key store.

    http://www.startux.de/index.php/java...resyvComment44
    http://cunning.sharp.fm/2008/06/impo...ys_into_a.html

  5. #5
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Take a look at the Wowza configuration steps in this guide:

    http://www.wowza.com/forums/content....cate-authority

    Richard

  6. #6
    Join Date
    Apr 2009
    Posts
    8

    Default

    Hi Richard,

    I started over again and did exactly what the guide mentions, including getting a new certificate from godaddy and i am still getting the same error.

    Any other pointers ?

  7. #7
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    What version of Wowza? I will step thru this guide too.

    Richard

  8. #8
    Join Date
    Apr 2009
    Posts
    8

    Default

    Richard,

    This is the version Wowza Media Server 3 for Amazon EC2 3.1.2 build1624

    -Sundeep

  9. #9
    Join Date
    Apr 2009
    Posts
    8

    Default

    Richard,

    Is there any other version which i can try ?

  10. #10
    Join Date
    Apr 2009
    Posts
    8

    Default

    Richard,

    I tried with Wowza Media Server 2 for Amazon EC2 2.1.2 build24878 and this seems to work correctly .

    I think its a problem with the latest wowza media server.

Page 1 of 2 12 LastLast

Similar Threads

  1. RTMPS or RTMPE publish support
    By robstreamhosting in forum General Forum
    Replies: 2
    Last Post: 08-28-2013, 08:12 AM
  2. wildcard SSL certificate usage
    By toddaalgx in forum Server Administration Discussion
    Replies: 7
    Last Post: 04-16-2013, 11:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •