1

I am quite new to secure networking and I am trying to make a simple networking program with boost asio ssl and I have read all of the documentation available and also lots of questions and answers, but no one has yet asked:

Can I make a simple encrypted network using boost asio ssl without all of the certificate and verifying stuff. Just a public/private key pair on both ends, then some sort of public key exchange (handshake?) and then secure communication?

If I am wrong or mistaken about something, please do correct me. Simple examples would be much appreciated.

Theolodis
  • 4,977
  • 3
  • 34
  • 53
user3796577
  • 109
  • 1
  • 8
  • 1
    why? [just make your own certificate](http://www.akadia.com/services/ssh_test_certificate.html) – Theolodis Jul 15 '14 at 08:03
  • @Theolodis That is one idea that might solve my problem, but I am interested whether there is an implementation for what I am trying to do, because I already have the keys generated earlier in the code and I would like to not change my earlier code, because I need to start generating certificates – user3796577 Jul 15 '14 at 08:44

1 Answers1

0

See here for a minimal demo client/server using Boost Asio:

This answer adds instructions on how to create a certificate and use it:

Community
  • 1
  • 1
sehe
  • 374,641
  • 47
  • 450
  • 633