ssl-proxy
ssl-proxy copied to clipboard
open /usr/local/tomcat7/certs/xxxx.crt: function not implemented on CentOS 4
Hi, I found this awesome project, but when trying to run it on a CentOS 4 server where anything else have problems, it seems this binary also has issues. Is there any way that I can get this with no system dependencies:
./ssl-proxy -cert /usr/local/tomcat7/certs/xxxx.crt -key /usr/local/tomcat7/certs/xxxx.key -from 0.0.0.0:8443 -to 127.0.0.1:8080
2018/10/26 14:43:29 Assuming -to URL is using http://
2018/10/26 14:43:29 Proxying calls from https://0.0.0.0:8443 (SSL/TLS) to http://127.0.0.1:8080
2018/10/26 14:43:29 open /usr/local/tomcat7/certs/xxxx.crt: function not implemented
Hi @titansmc interesting issue...it appears at first glance that perhaps the open
syscall is not implemented on your kernel (or rather, the golang open in the syscall.Syscall
isn't working on CentOS for some reason)? Can you run uname -r
and reply with the output?
Are you using the latest pre-built binary from the releases tab (0.2.1) or are you building your own? Are you running as root (probably should not be necessary, but am curious)?
I'll see if I can spin up a CentOS machine sometime in the next week to repro and dig deeper into what's going on here.
[root@host tiny-ssl-reverse-proxy-master]# uname -r
2.6.9-55.ELsmp
[root@host tiny-ssl-reverse-proxy-master]# cat /etc/redhat-release
CentOS release 4.5 (Final)
About root or non root, doesn't matter which user I use. And about the binary version, I've tried with both, neither of them will work.
Thanks for your interest.