Private Key is too small sized

I'm renewing the certificate for my domain , every thing is fine but the private key with pem is only 241 bytes ,

the issue that I'm using this private key for ORDS installation and every time I getting the exception :slight_smile: 2023-12-18T10:17:40.434Z SEVERE The provided key is not RSA or PKCS8 encoded
oracle.dbtools.standalone.StandaloneException: The provided key is not RSA or PKCS8 encoded
at oracle.dbtools.standalone.PEMCertificate$Builder.privateKey(
at oracle.dbtools.standalone.StandaloneConfiguration.certificate(
at oracle.dbtools.standalone.StandaloneConfiguration.start(
at oracle.dbtools.standalone.Serve.start(
at oracle.dbtools.standalone.Serve.serve(
at oracle.dbtools.cmdline.CommandLineInterface$Instance$ExecutableCommand.execute(
at oracle.dbtools.standalone.Serve.execute(
at oracle.dbtools.cmdline.CommandLine$Dispatcher.execute(
at oracle.dbtools.cmdline.CommandLine.dispatch(
at oracle.dbtools.cmdline.CommandLineInterface$Instance$ExecutableCommand.execute(
at oracle.dbtools.cmdline.CommandLineInterface$Instance.execute(
at oracle.dbtools.cmdline.CommandLine.execute(
at oracle.dbtools.cmdline.CommandLine.execute(
at oracle.dbtools.cmdline.CommandLine.main(
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(
at java.base/java.lang.reflect.Method.invoke(
at oracle.dbtools.launcher.executable.jar.ExecutableJarEntrypoint.invoke(
at oracle.dbtools.launcher.executable.jar.ExecutableJarEntrypoint.main(
Caused by: IOException : DER input, Integer tag error
at java.base/
at java.base/
at oracle.dbtools.standalone.PEMCertificate$Builder.privateKey(
... 20 more
Caused by: IOException : DER input, Integer tag error
at java.base/
at java.base/
at java.base/
at java.base/
at java.base/
at java.base/
... 22 more

I did some searches on Oracle ORDS topics and they are telling "Private key is corrupted"

any clue?

Thanks in advance

1 Like

certbot by default get ecdsa key : give key-type rsa option


can you post the full command , not familiar with that please

what acme client you uses?


certbot version: 2.8.0

certbot renew --key-type rsa --force-renewal

just once and it'd change to rsa:


Thanks @orangepizza ,

I'd give a try tomorrow as I got Error creating new order :: too many certificates ,

Anyway thanks so much for the prompt response

That error might take more than one day to clear.


Hello @maziz8900, welcome to the Let's Encrypt community. :slightly_smiling_face:

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. |, so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:

I ran this command:

It produced this output:

My web server is (include version):

The operating system my web server runs on is (include version):

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don't know):

I'm using a control panel to manage my site (no, or provide the name and version of the control panel):

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):

Thank you for assisting us in helping YOU!


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.