Skip to main content

Sockets with SSL

  • April 23, 2011
  • 3 replies
  • 0 views

[Migrated content. Thread originally posted on 22 April 2011]

I am trying to write a COBOL program (previously used C$SOCKET) that uses secure sockets (SSL). I'm having a hard time finding resources to help me do this. Has anyone done this? I'm looking for something that is not platform specific (so it can be used on UNIX/Linux and Windows).

Thanks,
Rob

3 replies

Stephen Hjerpe
  • Participating Frequently
  • 1100 replies
  • April 23, 2011

[Migrated content. Thread originally posted on 22 April 2011]

I am trying to write a COBOL program (previously used C$SOCKET) that uses secure sockets (SSL). I'm having a hard time finding resources to help me do this. Has anyone done this? I'm looking for something that is not platform specific (so it can be used on UNIX/Linux and Windows).

Thanks,
Rob
Hi Rob,

You would need a third party piece of software for this. The runtime and runtime libraries do not include the pieces to do SSL. There are export regulations that come into play when you have software that ships worldwide and provides SSL. Acu didn't want to get into all of these regulations so the runtime does not have SSL integration.

I hope this helps.

Steve

  • Author
  • Rocketeer
  • 19312 replies
  • April 23, 2011

[Migrated content. Thread originally posted on 22 April 2011]

I am trying to write a COBOL program (previously used C$SOCKET) that uses secure sockets (SSL). I'm having a hard time finding resources to help me do this. Has anyone done this? I'm looking for something that is not platform specific (so it can be used on UNIX/Linux and Windows).

Thanks,
Rob
Thanks, Steve. Do you or anyone know of one to recommend? I don't want a .NET or ActiveX only solution.

  • Author
  • Rocketeer
  • 19312 replies
  • June 23, 2011

[Migrated content. Thread originally posted on 22 April 2011]

I am trying to write a COBOL program (previously used C$SOCKET) that uses secure sockets (SSL). I'm having a hard time finding resources to help me do this. Has anyone done this? I'm looking for something that is not platform specific (so it can be used on UNIX/Linux and Windows).

Thanks,
Rob
cURL is a free utility that will do all kinds of Internet communications for you, including SSL. You just have to pass it a URL, your data, and some parameters. You invoke it with c$system. Go here for details: http://curl.haxx.se/