Without seeing your private key (I am assuming it is a private key with a PEM format…) you can use the syntax described here: http://stackoverflow.com/questions/5244129/use-rsa-private-key-to-generate-public-key
See the first answer where they are specifying the “in” value. Michael Munger, dCAP, MCPS, MCNPS, MBSS High Powered Help, Inc. Microsoft Certified Professional Microsoft Certified Small Business Specialist Digium Certified Asterisk Professional [email protected]<mailto:[email protected]> From: tinc [mailto:[email protected]] On Behalf Of Martin Sent: Wednesday, January 14, 2015 7:28 AM To: [email protected] Subject: Obtain public key Is there any way to obtain the public key from the private key? I know it's in host file however for the purpose of this message I need to be able to generate it on the command line. I tried openssl ec < ed25519_key.priv I get an error read EC key unable to load Key 140092556813984:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:703:Expecting: ANY PRIVATE KEY
_______________________________________________ tinc mailing list [email protected] http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc
