rejetto forum

Set Up HFS ssl on windows 10

0 Members and 1 Guest are viewing this topic.

Offline finchy70

  • Occasional poster
  • *
    • Posts: 6
    • View Profile
Can someone please point me in the right direction to set up HFS ssl with a cert provided by NameCheap.
I did it a few years ago but can't remember how and cant find a tutorial.

Any help would be gratefully received.

Thanks Finchy70


Offline bmartino1

  • Tireless poster
  • ****
    • Posts: 910
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link

Offline finchy70

  • Occasional poster
  • *
    • Posts: 6
    • View Profile
I have created a private key and cert request using
openssl req -new -days 365 -nodes -config stunnel.pem -out certreq.pem -keyout stunnel.pem

I then send the request to my ssl cert provider and get back two files a cert.p7b and cert.ca-bundle
I placed the stunnel.pem in the SSLCerts folder and renamed it Private key.pem and have tried both p7b and bundle files in the folder renamed as Certificate.pem.

When I run HFS it errors saying  invalid config file.

If I replace the self generated keys in the sslcerts folder it all works.  Any idea why this isn't working?


Offline bmartino1

  • Tireless poster
  • ****
    • Posts: 910
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
none, with the generated keys, i would assume, it would be something in the stunnel config. somehow you have to tell stunnel to use that key.

https://www.stunnel.org/pipermail/stunnel-users/2011-December/003457.html

https://www.stunnel.org/faq.html
« Last Edit: October 03, 2016, 11:36:21 AM by bmartino1 »
Files I have snagged and share can be found on my google drive:

https://drive.google.com/drive/folders/1qb4INX2pzsjmMT06YEIQk9Nv5jMu33tC?usp=sharing


Offline finchy70

  • Occasional poster
  • *
    • Posts: 6
    • View Profile
FIXED.
In the end i decided to use the latest standalone stunnel and the latest hfs.
Created my key with openssl in stunnel package and put the private key and cert from my provider in stunnel.pem and it now works.
Set stunnel to listen on 443 and then send to 44300.  I set HFS to listen on 44300.

Thanks for the help.