error in sample saml app in web2py.2.9.6

26 views
Skip to first unread message

Prasad Muley

unread,
Oct 16, 2014, 3:19:33 AM10/16/14
to web...@googlegroups.com
Hi All,
      I am getting an error when I try to login in sample saml2 app ( http://127.0.0.1:8000/saml2/default/user/login?_next=/saml2/default/index)

<type 'exceptions.IOError'> [Errno 2] No such file or directory: u'pki/mycert.pem'

Did anybody use sample saml2?


Prasad Muley

unread,
Oct 16, 2014, 5:37:07 AM10/16/14
to web...@googlegroups.com
I've solved this error.
I've made change in private/sp_conf.py

changed CONFIG settings as


- "key_file": "pki/mykey.pem",
- "cert_file": "pki/mycert.pem"% PATH,

+ "key_file": "%s/pki/mykey.pem" % PATH,
+ "cert_file": "%s/pki/mycert.pem"% PATH,

It successfully check whether I am login in idp or not (in my case onelogin is idp)
If I am not login then it'll open idp login page and redirect to http://127.0.0.1:8000/saml2/default/user/index page.


--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to a topic in the Google Groups "web2py-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/FbS7j7dsNqo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Thanks and Regards
Prasad M. Muley
Programmer at One Delta Synergies Pvt Ltd. | PICT 2013

“Pretty much everything on the web uses those two things: C and UNIX,” - Dennis Ritchie
                               http://www.cs.bell-labs.com/who/dmr/        
Reply all
Reply to author
Forward
0 new messages