Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Netino

Pages: 1 ... 26 27 [28] 29
406
Information / Re: CWP Why is it encrypted?
« on: January 03, 2018, 04:13:48 AM »
(...)
open source codes are vulnerable to attacks, i.e. why it is hidden and cwp is not a open source software.

The old "security by obscurity".
This is absolutely not true.
If you need you code be more secure, you *must* open it, and submit it to criticisms.
Without doing so, you always get a false sense of security.
Myself already report holes, without know anything of the panels's code.

Regards,
Netino

407
Information / Re: Regarding API
« on: January 03, 2018, 03:15:02 AM »
It worked.

The solution is very simple, just execute the command:
sh /scripts/install_api

Regards,
Netino


408
New Modules / Where post translation..?!
« on: December 23, 2017, 09:55:45 PM »
Where post translations..??!!

I have translated the user panel to the brazilian portuguese, but seems attachments are forbidden on this forum.

Regards,
Netino

409
Addons / Re: LETSENCRYPT CENTOS7
« on: December 23, 2017, 09:25:08 PM »
I'm running LetsEncrypt normally under Centos7.

Regards,
Netino

410
Addons / Re: Language Edit
« on: December 23, 2017, 09:23:15 PM »
As showed, is under "Plugins" menu.

411
Information / Re: Regarding API
« on: December 20, 2017, 01:21:41 AM »
If you do:
# cat /ADMINUSERNAME/.conf/apikey
ShortName|@|127.0.0.1|@|blablablablablablablablablablalblablalblabla|@|accout_add,accout_upd,accout_del,accout_list,accout_susp,accout_unsp,pack_add,pack_udp,pack_del,pack_list,emailadmin_list,changepack_udp,mysqlbd_add,mysqlbd_del,mysqlbd_list,mysqlbd_susp,mysqlb_unsp,mysqluser_add,mysqluser_del,mysqluser_list,typeserver_list,detailaccount_list,accountquo_list,cronuser_add,cronuser_del,cronuser_list,quotalimt_list,changpass_udp,|@|JSON|@|1

You can note there are several api names, old style.

So, you can try:
curl -k https://myip:PORT/api/ -d api=accout_list -d key=blablablablabla

Using PORTs 2031 and 2087, I get the answer:
Failed to include API File!!!

No solution, still.

412
Information / Re: Regarding API
« on: December 20, 2017, 12:31:34 AM »
CWP-7..?? are you meaning Centos7..??

Try:
curl -k https://myip:2304/v1/packages -d key=blablablablabla -d action=list

The -k parameter is to curl not to claim about selfsigned certificates.
The parameter -d is to pass parameters via POST method.

The problem is I'm trying like you, but no answer.
Searching for ports with 'netstat', I just find port 2302, not 2304.
But likewise, trying with port 2302 doesn't work too.

413
Information / Re: Translate to Portuguese
« on: December 17, 2017, 01:43:52 AM »
Hello,
There is a module in the admin where you can edit, clone or create new languages, the path of this module is:

-> Admin Panel -> Plugins -> Themes and Languages -> Languages ->

Clone the English language first, and change the translation.
After, we can contribute with more translation.

414
I can build it / Re: Translate template to brazilian portuguese
« on: December 17, 2017, 01:40:54 AM »
Hello,
There is a module in the admin where you can edit, clone or create new languages, the path of this module is:

-> Admin Panel -> Plugins -> Themes and Languages -> Languages ->

Clone the English language first, and change the translation.
After, we can contribute with more translations.

415
How to / Re: how to create domain alias
« on: December 02, 2017, 07:53:07 PM »
To make an alias to your domain, you can use the ServerAlias directive of apache server, in the file '/usr/local/apache/conf.d/vhosts.conf'.

If you have, for example:
----------------------------------------------
ServerAlias domainexample.com
----------------------------------------------

you can manually edit to:
--------------------------------------------------------------------------------------
ServerAlias domainexample.com server2.domainexample.com
--------------------------------------------------------------------------------------

or:
------------------------------------------------------------------------------------------------------------------------------
ServerAlias domainexample.com server2.domainexample.com server3.domainexample.com
------------------------------------------------------------------------------------------------------------------------------

or:
------------------------------------------------------
ServerAlias *.domainexample.com
------------------------------------------------------
etc.

The only question I have is, if editing manually, the changes would be overwritten by changes made via panel, ou updates.

Regards,
Netino

416
How to / Re: how to create domain alias
« on: December 02, 2017, 07:35:42 PM »
The .htaccess simply is not an answer.
To apache interpret the .htaccess file, the access MUST be arrived at the server, within the path, to interpret this file fontent.
If the access of the alias domain already comes to a directory on the server, the .htaccess should be not needed anymore.

The question is exactly how to make the apache server direct the access of that domain alias to a directory on the server.

417
Updates / Re: Update for openSSL is important!
« on: December 01, 2017, 01:57:02 AM »
CWP is running a customized version of apache/mod_ssl (cwp-httpd).

Checking that version we discover:
---------------------------------------
# strings /usr/local/apache/modules/mod_ssl.so | egrep '^mod_ssl\/|^OpenSSL '
OpenSSL 1.0.1e 11 Feb 2013
OpenSSL 1.0.1e 11 Feb 2013
---------------------------------------

So, this update seems is a must update!
When we would have a updated version of CWP?

418
There are some problem with the pointing of the certificate.
I spend three days working on this.

The program creates correctly the certificates at '/etc/pki/tls/certs/', but the certificate directive in the file '/usr/local/cwpsrv/conf/cwpsrv.conf' with:
-----------------------------------------------------------
ssl_certificate     /etc/pki/tls/certs/hostname.crt;
-----------------------------------------------------------

when my server is working only with:
-----------------------------------------------------------
ssl_certificate     /etc/pki/tls/certs/hostname.bundle;
-----------------------------------------------------------

It's a bug..??!!

419
Ok, I've tried the following:
http://wiki.centos-webpanel.com/hostname-ssl-with-letsencrypt

but that page is not updated.

Seems the correct menu has changed:
Instead:
In cwp.admin left menu go to –> CWP Settings –> Change Hostname save there your hostname...

read:
In cwp.admin left menu go to –> Server Settings –> Change Hostname save there your hostname.

420
We have the option to ANY domain on that menu, but NOT to the main domain, the hostname domain.
(as 'hostname domain' I'm regarding the process to get the certificate from LetsEncrypt)

This was definitely disabled...??!!

There are videos on youtube, but this option simply don't work anymore like that.

Pages: 1 ... 26 27 [28] 29