Skip to content
DataMiner Dojo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • YouTube Videos
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Agility
      • Learn more about Agile
        • Agile Webspace
        • Everything Agile
          • The Agile Manifesto
          • Best Practices
          • Retro Recipes
        • Methodologies
          • The Scrum Framework
          • Kanban
          • Extreme Programming
        • Roles
          • The Product Owner
          • The Agile Coach
          • The Quality & UX Coach (QX)
      • Book your Agile Fundamentals training
      • Book you Kanban workshop
    • >> Go to DataMiner Docs
  • DevOps
    • About the DevOps Program
    • Sign up for the DevOps Program
    • DataMiner DevOps Support
    • Feature Suggestions
  • Downloads
  • Swag Shop
  • PARTNERS
    • Business Partners
    • Technology Partners
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • >> Go to dataminer.services

OpenSearch generate-certificates.sh script (interactive) bugs

Solved84 views2 days agoopensearch
3
Fernando Ejarque Echenique [DevOps Member]170 5 days ago 0 Comments

Hi Dojo,

The OpenSearch generate-certificates.sh script (interactive version) has breaking bugs.

  1. Invalid default value for certificate validity
    validity=${validity:-66.612.500} is not a number and will always fail numeric validation and the prompt says “Default: 50 years” but the value is invalid
    It should be validity=${validity:-18250}
  2. Typo: keysize vs keySize
    In generate_admin_certificate:
    default_bits = $keysize
    openssl genrsa -out admin_key.tmp $keysize
    But Variable is defined as keySize elsewhere.
    So openssl genrsa will fail and Config file will contain empty default_bits
    It should be:
    default_bits = $keySize

    openssl genrsa -out admin_key.tmp $keySize

There are also other minor issues and improvements that could be implemented, but these are critical errors.

Fernando Ejarque Echenique [DevOps Member] Selected answer as best 2 days ago

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
0
Seppe Dejonckheere [SLC] [DevOps Enabler]2.66K Posted 2 days ago 0 Comments

Hi,

I pushed a fix for the blocking issues, so the script should work as expected again.

Please let me know any other improvements we can make, or feel free to make them yourself via a pull request.

Kind regards,

Fernando Ejarque Echenique [DevOps Member] Selected answer as best 2 days ago
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2026 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin