[URLEncryption] Problem with RepublishModule in OS 10 while Activating Encryption

Forge Component
(7)
Published on 2014-09-28 by Guilherme Pereira
7 votes
Published on 2014-09-28 by Guilherme Pereira

Hello!

I'm trying get this working in our OS 10 dev environment.

I have account there there with admin privileges and can open https://my_domain/URLEncryptionBO/Administration.aspx

But when I select espace and click ActivateEncryption then I got error in RepublishModule action:

System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> ssServiceCenter.ExcptInvalidLogin: Invalid username or password. at ssServiceCenter.WebServices.ServiceStudio.Compile
(there passed my correct real login and password)

I refreshed web references and took in use CompileWithSettingsAndPreviousVersion instead of depreciated Compile, but result is same.

Can someone advice me how to continue?


Also I surprised of the comment to password parameter: "Encrypted password of the user"
Should it be plain or encrypted password indeed?

I replaced now plain password by System.User.Password but result is same.


and another question: if i understood right then republishModule needed only when Encryption activated, in future publish from ServcieStudio will work as well, am I right?
Then a question: in description mentioned:

>This module parses the requests and responses to and from the modules where it is
> active and encrypts the necessary URLs before sending the response as well as decrypts the URL when necessary

Am I right that if I'm using action Destination inside a module having IsEncryptionActive=ON, then url parameters to be encrypted automatically under the hood? (asking because I can't get it working yet)

Hi Stanislav,


Unfortunately I never got it to work past OutSystems version 8. I only left the component on forge to be used as a potential POC or base for future work.


The error you're getting is because it uses and old internal api which is no longer available to publish a module. You could publish it vi SC but even then the HttpModule configuration is not working anymore.


If I have the time I may try to look into alternative/solutions but at the moment I'm unable,I know some people were working on a potential solution to make it work on recent versions but haven't heard from them in quite a while so I'm assuming they either gave up or are busy with other.


But answering your question: Am I right that if I'm using action Destination inside a module having IsEncryptionActive=ON, then url parameters to be encrypted automatically under the hood? (asking because I can't get it working yet)


When it worked that was the behavior except for ajax requests (which I never got them to work properly).


Cheers,

Guilherme

Thank you Guilherme, currently we decided don't use this component, but probably will return back this later.