Hi,

this is my changeset of fred-client to support server which require verification using CA Root Certificates

https://github.com/chenull/fred-client/commit/db293708cec5fe2e2856b8cafa7f1316b36c2148

the corresponding fred-client.conf would be:

[connect]
dir=/home/user/.virtualenvs/fred/share/fred-client/ssl
host = 1.2.3.4
port = 700
ssl_cert = /opt/user/certs/cert.pem
ssl_key  = /opt/user/certs/keys/server-nopass.key
ca_certs = /opt/user/certs/cacert.pem
username = username
password = password
;username2 = REG-FRED_B
;password2 = passwd

the cacert.pem file can be obtained from http://curl.haxx.se/ca/cacert.pem

NOTE: i only modified for the python 2.6 ssl.wrap_socket part. the python 2.5 part is unchanged

-- 
Sayid Munawar
Sent with Sparrow

On Wednesday, February 27, 2013 at 10:42 AM, Lawrence Neal wrote:

Sayid,

That's where I'm hosting all my repo's for the FRED work I'm doing, let me know the name of the repo you create/post. BTW, I have an android app that I forked and updated to SDK.20.ver.4.2, EnumDroid, I it use to access the FRED database for the NAPTRs.

Lawrence


On Tue, Feb 26, 2013 at 8:28 PM, Sayid Munawar <sayid.munawar@gmail.com> wrote:
Hi

I would love to share it. is it ok if i make "unofficial repo" for fred-client to github ?

it just easier to maintain some code via github 

-- 
Sayid Munawar
Sent with Sparrow

On Wednesday, February 27, 2013 at 9:05 AM, Lawrence Neal wrote:

Sayid,

Do you have the changes/updates for the fred-client using SSL that you could share.
I didn't see an attachment.

Thanks,
Lawrence Neal



On Tue, Feb 26, 2013 at 6:36 PM, Sayid Munawar <sayid.munawar@gmail.com> wrote:
Hi,

i think it will attract more people to elaborate with fred. 

i edited fred-client in file client_socket.py and session_transfer.py to support Server side SSL verification (using ca_certs kwargs). i just want to contribute back to fred.

-- 
Sayid Munawar
Sent with Sparrow

On Wednesday, February 27, 2013 at 4:55 AM, Jaromír Talíř wrote:

Hi Sayid,
not now, what would you use it for?

Regards,
Jaromir

On Mon, 2013-02-25 at 20:39 +0700, Sayid Munawar wrote:
Hi Jiri


You're right ! it works now !


just curious, is there any git repository for fred-webadmin ?


--
Sayid Munawar
Sent with Sparrow


On Monday, February 25, 2013 at 8:08 PM, Jiri Sadek wrote:

Hi,


If I remember it correctly this is due to new version of cherrypy
framework. In ubuntu 12.04 there is python-cherrypy3 3.2.2-2 which
does
some new handling of POST and GET parameters. Try to downgrade it to
3.1.2 (I am using without this issue) and it should be fine.


Best regards.
Jiri


On Mon, 2013-02-25 at 18:49 +0700, Sayid Munawar wrote:
Hi,




I've just successfully installed fred on ubuntu 12.04. phew…




- i've added zone
- i've added registrar to zone
- i've added acl for registrar




now the problem is:




when saving anything data (certificate md5, edit street, etc) i
got
error returned by the fred-webadmin:




Required_integer_as_parameter




No output generated from debug log, i've set debug level to
"debug"
too.




Any clue how to fix this ?




--
Sayid Munawar
Sent with Sparrow




_______________________________________________
fred-users mailing list




_______________________________________________
fred-users mailing list


_______________________________________________
fred-users mailing list

--
Jaromir Talir
technicky reditel / Chief Technical Officer
-------------------------------------------
CZ.NIC, z.s.p.o. -- .cz domain registry
Americka 23, 120 00 Praha 2, Czech Republic
-------------------------------------------
_______________________________________________
fred-users mailing list

Attachments:
- smime.p7s


_______________________________________________
fred-users mailing list
fred-users@lists.nic.cz
https://lists.nic.cz/cgi-bin/mailman/listinfo/fred-users


_______________________________________________
fred-users mailing list


_______________________________________________
fred-users mailing list
fred-users@lists.nic.cz
https://lists.nic.cz/cgi-bin/mailman/listinfo/fred-users


_______________________________________________
fred-users mailing list
fred-users@lists.nic.cz
https://lists.nic.cz/cgi-bin/mailman/listinfo/fred-users