Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

open /usr/local/tomcat7/certs/xxxx.crt: function not implemented on CentOS 4 #7

Open
titansmc opened this issue Oct 26, 2018 · 2 comments

Comments

@titansmc
Copy link

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

@titansmc titansmc changed the title open /usr/local/tomcat7/certs/xxxx.crt: function not implemented on CentOS4 open /usr/local/tomcat7/certs/xxxx.crt: function not implemented on CentOS 4 Oct 26, 2018
@suyashkumar
Copy link
Owner

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.

@titansmc
Copy link
Author

[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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants