-
Notifications
You must be signed in to change notification settings - Fork 11.7k
cas server problem #4494
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
Comments
What CAS versions and softwares do you use? |
@engelgabriel hi,the cas version is 1.0,and softwares is the lastest version.
|
@qweqweq What is the content of the server logfiles? Could you enable debugging in Settings and reproduce the error? What CAS service software are you using in combination with RocketChat? |
@corecachee server logfiles i don't remember ,i am not in company now and we have a long holiday in china called Natoinal Day. 7 days later,i will send you the error messages and the CAS service software when i return . thanks a lot. 😄 |
@CoreCache hi ,CAS service software is the we use 3.5.x version not 4.2.x and i want to combination with Rocket.chat .but i can't. |
There are multiple CAS service softwares. Which one do you use? What is the name of the product/software? Please attach way more details to your help requests. We really can't help you with so little details. |
oh sorry ,the link address not copied.the link is https://www.apereo.org/projects/cas |
@CoreCache hi i can't find where the cas.valide function defined. could you tell me how it works?
|
It is beeing imported from an external module called "CAS". What are you trying to do? |
@CoreCache ,yeah,i want to know how does cas.validate() work when i got the ticket. When I debug this code, I found I was unable to follow up this process 'CAS.VALIDATE()'. So I want to know how this approach is defined and how it is to verificate by ticketId. |
It's all described in the Jasig CAS procol versions on the Jasig website. Here is an example diagram from Ruby Cas: https://rubycas.github.io/images/basic_cas_single_signon_mechanism_diagram.png |
The actual code behind the imported CAS module is to be found here: https://github.com/kcbanner/node-cas/blob/master/lib/cas.js#L363 |
@CoreCache ok,thanks bro. 😄 |
@CoreCache hi ,I appeared in the fifth step when the ticket is verified according to issues, returns no data, the picture is described when debugging problems. |
|
@CoreCache thanks a lot ,i will check it. |
@CoreCache hi bro ,i have update my code with version 0.42 develop.and i got a error message like this. |
Thats SSL/HTTPS related. Are you perhaps using self-signed certificates? or have not yet imported your internal company CA for your current service? |
oh yeah,i have not imported my company CA.thank you very much @CoreCache 👍 |
So this solved your problem? |
You don't need to change code to import CA's. |
@CoreCache actually , i don't know how to fix it with this error. |
Sorry mate, can't held your hand through all this stuff. Here is a similiar issue and probably a temporary solution for your certificate issue: #919 |
thank you very much @CoreCache |
@qweqweq , hi , i am having same issue , did you find any solution ? |
@qweqweq Hi, i am having same issue yet, did you find any soltion? If you find a solution, please let me know,thanks! |
Hi, We are using a valid let's encrypt certificate, yet we are seeing this message |
Actually I just solved this problem ! So, the issue was that we are using LetsEncrypt to generate our certificates ! And you HAVE TO use the fullchain.pem and not the cert.pem ! So if anyone above was using letsecnrypt that is the issue, if not, then the issue comes from the fact that nodeJS tries to validate your certificate, if this certificate is not issued by a valid CA you have to make it a FullChain so that it gets validated ! Voila ! |
i want to enable the caso with my own server which not in git、twitter、meteor...


i got some problems with other service .
can anyone give me some advice?
The text was updated successfully, but these errors were encountered: