DEV Community

Cover image for From OpenSSL to One Click: Meet the Payneteasy Key Pair Factory
Payneteasy
Payneteasy

Posted on

From OpenSSL to One Click: Meet the Payneteasy Key Pair Factory

Connecting to a payment gateway rarely fails because of business logic. More often, it fails at the very first technical step: authentication.

If you’ve ever worked with payment APIs, you know the drill. Before sending a single request, you need to generate a cryptographic key pair and sign every request correctly. Sounds straightforward—until you actually try to do it.

The hidden hurdle in every integration
To securely call the Payneteasy API, each request must be signed. That means:

  • Generating an RSA key pair (usually via OpenSSL)
  • Converting between PKCS#1 and PKCS#8 formats
  • Building a correct signature base string
  • Percent-encoding everything properly
  • Signing with RSA-SHA256 or HMAC-SHA1
  • Assembling the Authorization header One small mistake—a missing character, wrong encoding, or incorrect format—and your request gets rejected.

For teams without deep cryptography expertise, this step alone can turn a one-day integration into a week-long debugging session.

If you’re curious, the full manual process is documented here:
https://doc.payneteasy.com/integration/general_api_usage/request_authentication_methods/oauth.html#generating-key-pair

The solution: Key Pair Factory

We built the Payneteasy Key Pair Factory to remove this bottleneck entirely.

Instead of dealing with OpenSSL commands and key formats, you can generate everything you need in just a few clicks.

What it does:

  • Generates a ready-to-use RSA key pair
  • Ensures correct formatting for Payneteasy APIs
  • Eliminates manual conversion and configuration errors
  • Keeps the private key on your side
  • Provides a public key for request verification

No cryptography expertise required.

The tool is open-source and available on GitHub:
https://github.com/payneteasy/key-pair-factory

Why this matters

This is not just about convenience—it directly impacts integration speed and success.

With the Key Pair Factory, you get:

  • Faster onboarding
  • Fewer integration errors
  • Less back-and-forth with support teams
  • A smoother developer experience In short, you move from setup friction to actual product work much faster.

Flexibility without the friction

Payneteasy has always focused on flexibility: multiple authentication methods, deep configuration, and powerful payment infrastructure.

But flexibility often comes with complexity.

With tools like the Key Pair Factory, we’re changing that. The goal is simple: keep the power, remove the friction.

This is one example of how a traditionally complex, expert-only task can become a simple, self-service action—without requiring a large engineering effort.

Get started

If you're integrating the Payout API or working with payouts via the virtual terminal, this is the fastest way to get authenticated.

Learn more or request access(https://payneteasy.com/blog/payneteasy-key-pair-factory)

Payneteasy is a global payment technology platform that connects payment businesses to acquirers, alternative payment methods, and risk tools through a single integration. Since 2006, we’ve been helping PSPs, banks, fintechs, and large merchants build scalable payment infrastructure under their own brand.

Top comments (0)