Unfortunately, Illustrator not supported Socket Object.
Thanks for responding.
I'm using bridge and able to access http URL.the moment i access https it is breaking.
Do we have any work around or solution to access https URL.
Please help .
You need to implement TLS, Can find some solutions in GitHub.
However, We can use Adobe Extension SDK, Provide to make Extensions HTML5+NODE.js with Extendscript. NODE.js includes HTTPS protocol and easy to use. You can reference below:
Thanks for your time.
Sorry I'm confused totally .Let me rephrase the issue im facing.
I'm executing the script from AI.The script starts Bridge and connects to the external application(Once connected takes input as AI file and send request request in Socket object) .
This is working for http .failing when i try to access https.
Is there any way to implement https access in the script it self without modifying in external Server.Seems Adobe Extension SDK with this ,i have to re-Implement totally.
Please suggest I need something which can be executed from AI .
1 person found this helpful
We can write HTTPS Socket logic with Extendscript and Bridgetalk, Need to impliment "Handshake encripted stream" > "Build HTTP headder" > "encrypt with private key" > "pass encrypted headder" > "build body and encrypt"...
Its very bother for me. I often to use Adobe Extension SDK like previouse case.
However, you can read as reference HTTP over TLS:
In AdobeExtensionSDK, We can impliment HTTPS process with node.js and NPM packages, and main logic(working with Illustrator Objects) still Extendscript. You only need to rewrite socket manipuration and its very easy in NODE.js.