# help with ssl certificate

**URL:** https://community.wowza.com/t/help-with-ssl-certificate/35279
**Category:** Wowza Streaming Engine
**Tags:** server-administration
**Created:** [August 26, 2011, 6:26pm UTC](https://community.wowza.com/t/help-with-ssl-certificate/35279 "2011-08-26T18:26:52Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![dan\_aronson](https://avatars.discourse-cdn.com/v4/letter/d/a88e57/32.png) [@dan\_aronson](https://community.wowza.com/u/dan_aronson)
#### Post date: [August 26, 2011, 6:26pm UTC](https://community.wowza.com/t/help-with-ssl-certificate/35279/1 "2011-08-26T18:26:52Z")

</div>

I have a wildcard SSL certification for my domain (which was created with openssl and signed by a known CA) and I was trying to use it with Wowza. I’m not sure what should go in keystorepath, is it just the cert? The cert and the PEM key that I have for this cert? When I just put in the cert and try to connect via HTTPS (for cupertino streaming) I get:

Connecting to 127.0.0.1:443… connected.

OpenSSL: error:140770FC:SSL routines:SSL23\_GET\_SERVER\_HELLO:unknown protocol

Unable to establish SSL connection.

Any help would be appreciated.

–dan

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [August 27, 2011, 6:09pm UTC](https://community.wowza.com/t/help-with-ssl-certificate/35279/2 "2011-08-27T18:09:19Z")

</div>

Dan,

Take a look at this guide:

[https://www.wowza.com/docs/how-to-request-an-ssl-certificate-from-a-certificate-authority](https://www.wowza.com/docs/how-to-request-an-ssl-certificate-from-a-certificate-authority)

Richard

---

<div class="post-metadata">

### Author: ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)
#### Post date: [August 27, 2011, 3:33pm UTC](https://community.wowza.com/t/help-with-ssl-certificate/35279/3 "2011-08-27T15:33:17Z")

</div>

I really don’t know. I might try accessing using different tools. I have not had good luck with self-signed certs.

Charlie

---

<div class="post-metadata">

### Author: ![dan\_aronson](https://avatars.discourse-cdn.com/v4/letter/d/a88e57/32.png) [@dan\_aronson](https://community.wowza.com/u/dan_aronson)
#### Post date: [August 27, 2011, 11:24am UTC](https://community.wowza.com/t/help-with-ssl-certificate/35279/4 "2011-08-27T11:24:05Z")

</div>

I actually also followed that guide and created a self signed cert, still getting the problem (trying to retrieve using wget)

> keytool -printcert -v -file /Users/dan/off/fandor/certificates/f/out.cert
> 
> Owner: CN=Dan Aronson, OU=Unknown, O=Fandor, L=San Francisco, ST=CA, C=US
> 
> Issuer: CN=Dan Aronson, OU=Unknown, O=Fandor, L=San Francisco, ST=CA, C=US
> 
> Serial number: 4e592264
> 
> Valid from: Sat Aug 27 09:59:16 PDT 2011 until: Fri Nov 25 08:59:16 PST 2011
> 
> Certificate fingerprints:
> 
> MD5: 12:C8:7D:E8:9A:05:A2:EA:36:9B:67:DA:52:E6:79:F4
> 
> SHA1: F1:2D:22:D5:ED:DE:92:BD:E8:73:79:9A:9A:1C:85:21:5B:2D:0E:F7
> 
> Signature algorithm name: SHA1withRSA
> 
> Version: 3

in Vhosts.xml

> /Users/dan/off/fandor/certificates/f/out.cert
> 
> \*\*\*\*\*\*
> 
> JKS
> 
> TLS
> 
> SunX509

Output from wget:

> wget [https://127.0.0.1/fandor/smil:000257\_fallen\_angels\_-w-\_-b-kbps.smil/playlist.m3u8](https://127.0.0.1/fandor/smil:000257_fallen_angels_-w-_-b-kbps.smil/playlist.m3u8)
> 
> –12:13:08-- [https://127.0.0.1/fandor/smil:000257\_fallen\_angels\_-w-\_-b-kbps.smil/playlist.m3u8](https://127.0.0.1/fandor/smil:000257_fallen_angels_-w-_-b-kbps.smil/playlist.m3u8)
> 
> =\> `playlist.m3u8’
> 
> Connecting to 127.0.0.1:443… connected.
> 
> OpenSSL: error:140770FC:SSL routines:SSL23\_GET\_SERVER\_HELLO:unknown protocol
> 
> Unable to establish SSL connection.

---

<div class="post-metadata">

### Author: ![dan\_aronson](https://avatars.discourse-cdn.com/v4/letter/d/a88e57/32.png) [@dan\_aronson](https://community.wowza.com/u/dan_aronson)
#### Post date: [August 27, 2011, 3:54pm UTC](https://community.wowza.com/t/help-with-ssl-certificate/35279/5 "2011-08-27T15:54:14Z")

</div>

I’m sure that’s not the problem. I’m loathe to pay for another cert until I can see that this works, wget works fine with self signed certs for webservers. Here’s an example of using it against a self-signed cert…

wget [https://repository.fandor.com](https://repository.fandor.com)

–16:53:04-- [https://repository.fandor.com/](https://repository.fandor.com/)

=\> `index.html’

Resolving [repository.fandor.com](http://repository.fandor.com)… 70.35.42.124

Connecting to repository.fandor.com|70.35.42.124|:443… connected.

ERROR: Certificate verification error for [repository.fandor.com](http://repository.fandor.com): self signed certificate

To connect to [repository.fandor.com](http://repository.fandor.com) insecurely, use `–no-check-certificate’.

Unable to establish SSL connection.

---

<div class="post-metadata">

### Author: ![dan\_aronson](https://avatars.discourse-cdn.com/v4/letter/d/a88e57/32.png) [@dan\_aronson](https://community.wowza.com/u/dan_aronson)
#### Post date: [August 27, 2011, 4:02pm UTC](https://community.wowza.com/t/help-with-ssl-certificate/35279/6 "2011-08-27T16:02:54Z")

</div>

got it, i was just editing the conf file and putting the 443 port in the wrong place.

–dan
