Chilkat • HOME • Android™ • Classic ASP • C • C++ • C# • Mono C# • .NET Core C# • C# UWP/WinRT • DataFlex • Delphi ActiveX • Delphi DLL • Visual FoxPro • Java • Lianja • MFC • Objective-C • Perl • PHP ActiveX • PHP Extension • PowerBuilder • PowerShell • PureBasic • CkPython • Chilkat2-Python • Ruby • SQL Server • Swift 2 • Swift 3/4 • Tcl • Unicode C • Unicode C++ • Visual Basic 6.0 • VB.NET • VB.NET UWP/WinRT • VBScript • Xojo Plugin • Node.js • Excel • Go
Welcome › Forums › General PowerShell Q&A › Certificate Public key to decrypt encrypted signature This topic has 6 replies, 2 voices, and was last updated 3 years, 1 month ago by Ray Pro. To generate the public/private key pair, enter this in the Command Prompt: ssh-keygen At the first prompt, “Enter file in which to save the key,” press Enter to save it in the default location. Mar 31, 2018 Generate public key and store into a file It is a simple one liner command to generate a public key from a private key, so lets say our private key is named ‘[email protected]’ and we want to generate the public key and name it ‘authorizedkeys’. Below is the command to do this. Download PuTTYgen.exe and run it. Select the RSA radio button in the Parameters section near the bottom of the page. Click the Generate button. Move the mouse around in the blank area as instructed, until PuTTYgen generates the key pair. When PuTTYgen has generated the key, it replaces the blank area with a series of text boxes, including one that shows the public key.
| PowerShell example code showing how to generate an RSA public/private key.
|
© 2000-2020 Chilkat Software, Inc. All Rights Reserved.