Hey,
On Jan 29, 12:06 pm, RoyGanor <
gan...@gmail.com> wrote:
> Hi shevron,
>
> Actually the second scenario you are asking for is already supported
> (unintentionally) but you are right it's currently not "streamlined"
> very well by the SDK.
> So to make sure you can do it you will need to understand how
> certificates work with Java by using the keytool command linehttp://
docs.oracle.com/javase/1.5.0/docs/tooldocs/solaris/keytool.html
>
> This is how we did it for our Cloud solution so you may "take a ride"
> with our ~/.zendsdk.keystore file.
Would be nice to have it streamlined though :)
>
> Just out of curiosity (maybe I am missing something), why opening the
> SSH port for tunneling is better than opening the ZServer port? Do you
> open it without shell/commandline?
Less open ports on the public interface and the inherit security of
using passwordless SSH (private keys only). In all honesty it just
seems like a good practice to only allow access to the Zend Server GUI
to people that already have SSH access to the machine. SSH tunnels can
of course be opened without opening a shell or command line - it's an
ability build-in to SSH. If I wanted to script the process of opening
a tunnel, using the zend sdk to deploy a package and then closing the
tunnel again, I could probably do it with a few lines of bash. In
fact, maybe I will :)
Thanks,
Shahar.