[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 251
  • Last Modified:

SSL client/server programm in C

Hey guys,
I need to create client/server program to connect to the remote server through the internet using SSL + and how to send (or get) data through parallel port to a microcontroller?
Any source code? Any reference? Any idea, advice?
Thx
0
pixer77
Asked:
pixer77
1 Solution
 
chris_calabreseCommented:
Sounds like two distinct questions to me...

Meanwhile, the standard way to talk SSL from a C program is to use the OpenSSL libraries (www.openssl.org).

Another possibility is not to make the C program itself SSL aware, but to tunnel with Stunnel (www.stunnel.org).

Finally, if this is strictly web stuff, you could even call an external program like wget (www.gnu.org/software/wget/wget.html)
0
 
paranoidcookieCommented:
I think this is more a programming question perhas ask the moderators to move to linux programming?
0
 
dennis_georgeCommented:
Try the following example

http://www.digitalfanatics.org/cal/socketw/index.html

Cheers
Dennis
0
 
nagravesCommented:
If you are at all fluent in any programming language, you should be able to get the RFC/whitepapers on whatever technology/protocol you are trying to implement. SSL was succeeded by TLS. SSL never got to the "RFC" stage, but TLS has.

Histort of TLS rfc..
RFC 2246: "The TLS Protocol Version 1.0"
RFC 2712: "Addition of Kerberos Cipher Suites to Transport Layer Security (TLS)"
RFC 2817: "Upgrading to TLS Within HTTP/1.1"
RFC 2818: "HTTP Over TLS"
RFC 3268: "AES Ciphersuites for TLS"

You might want to check out OpenSSL http://www.openssl.org

As far as coding in C for controlling the parallel port: http://ee.cleversoul.com/parallel_port.html
0

Featured Post

A Cyber Security RX to Protect Your Organization

Join us on December 13th for a webinar to learn how medical providers can defend against malware with a cyber security "Rx" that supports a healthy technology adoption plan for every healthcare organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now