# Self Signed Certificate

## CA Certificate

openssl genrsa 2048 > ca-key.pem\
openssl req -new -x509 -nodes -days 18250 -key ca-key.pem -out ca-cert.pem (18250 = 365 \* 50 years)

## Server Certificate

openssl req -newkey rsa:2048 -days 18250 -nodes -keyout server-key.pem -out server-req.pem\
openssl rsa -in server-key.pem -out server-key.pem\
openssl x509 -req -in server-req.pem -days 18250 -CA ca-cert.pem -CAkey ca-key.pem -set\_serial 01 -out server-cert.pem

## Client Certificate

openssl req -newkey rsa:2048 -days 18250 -nodes -keyout client-key.pem -out client-req.pem\
openssl rsa -in client-key.pem -out client-key.pem\
openssl x509 -req -in client-req.pem -days 18250 -CA ca-cert.pem -CAkey ca-key.pem -set\_serial 01 -out client-cert.pem

#### Verify Certificate

openssl verify -CAfile ca-cert.pem server-cert.pem client-cert.pem


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://privdocs.geolink.top/master.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
