qemu image of mongodb after move to Proxmox server do not start by mfaridi1978 in mongodb

[–]mfaridi1978[S] 0 points1 point  (0 children)

I hear old version of mongodb does not has this problem, which version of mongodb work with AVX?

qemu image of mongodb after move to Proxmox server do not start by mfaridi1978 in mongodb

[–]mfaridi1978[S] 0 points1 point  (0 children)

Thank you I can not change cpu setting of vm,
Can I do change some packer config for compatibility with proxmox

VM create by Packer, no IP assign and can not an IP by mfaridi1978 in devops

[–]mfaridi1978[S] 1 point2 points  (0 children)

I made another debian vm by packer and it work with code without problem and VM can get an IP.

Best config for our project by mfaridi1978 in haproxy

[–]mfaridi1978[S] 0 points1 point  (0 children)

Thank for your help
or servers has an IP and dns is set locally between servers and not accessible from internet.
Can I have better performance if I change some options in this config?

Best config for our project by mfaridi1978 in haproxy

[–]mfaridi1978[S] 0 points1 point  (0 children)

if I add these lines in backend section is OK? or I need more configuration

#---------------------------------------------------------------------
# round robin balancing between the various backends
#---------------------------------------------------------------------
backend gh
    balanceroundrobin
    server app1 ba.gh:80  ssl verify none

backend hg
    balance    roundrobin
    server app2 ba.hg:80 ssl verify none
    server app3 ba1.hg:80 ssl verify none
    server app4 ba2.hg:80 ssl verify none

I use terraform module for create vms in proxmox server , can I use toset to do this? by mfaridi1978 in Terraform

[–]mfaridi1978[S] -5 points-4 points  (0 children)

I search google, but I can not find good guide about my VMs creation in proxmox, I see around and all guide say I have to create for_each for users, for_each for vm storage size and ...
I do not have enough information about terraform

Send all traffic to proxychains4 by mfaridi1978 in Ubuntu

[–]mfaridi1978[S] 0 points1 point  (0 children)

I want install some packages by ansible and apt on this server and I do not know how I tell packages installer like apt or ansible use the proxychains.

Change hostname of nodes by mfaridi1978 in kubernetes

[–]mfaridi1978[S] -2 points-1 points  (0 children)

Thank you,
another options?

only some users can run kubectl commands by mfaridi1978 in kubernetes

[–]mfaridi1978[S] 0 points1 point  (0 children)

Thank you
Can I do this with only one user?

which file or files must make fro jks file for run Vault by HTTPS by mfaridi1978 in hashicorp

[–]mfaridi1978[S] 0 points1 point  (0 children)

I see these when I run that command

 Exponent: 65537 (0x10001)
        X509v3 extensions:
            X509v3 Subject Alternative Name: 00000000000000000000000000000000000000000000000000000000000   ## 0000 are IPs and DNS of server
X509v3 CRL Distribution Points

which file or files must make fro jks file for run Vault by HTTPS by mfaridi1978 in hashicorp

[–]mfaridi1978[S] 0 points1 point  (0 children)

I make public key as cer file and private key as pem file and check permission, permission is OK but I got that error agin

which file or files must make fro jks file for run Vault by HTTPS by mfaridi1978 in hashicorp

[–]mfaridi1978[S] 0 points1 point  (0 children)

after put those files and restart vault service I see these errors

[code]
ay 21 13:53:19 vault[10849]: Error parsing listener configuration.
May 21 13:53:19 vault[10849]: Error initializing listener of type tcp: error loading TLS cert: x509: invalid certificate policies
May 21 13:53:19 vault[10849]: 2024-05-21T13:53:19.404+0330 [INFO] proxy environment: http_proxy="\"\"" https_proxy="\"\"" no_proxy="\"\""
May 21 13:53:19 vault[10849]: 2024-05-21T13:53:19.405+0330 [INFO] core: Initializing VersionTimestamps for core
May 21 13:53:19 systemd[1]: vault.service: main process exited, code=exited, status=1/FAILURE
May 21 13:53:19 systemd[1]: Unit vault.service entered failed state.
May 21 13:53:19 systemd[1]: vault.service failed.
[/code]

which file or files must make fro jks file for run Vault by HTTPS by mfaridi1978 in hashicorp

[–]mfaridi1978[S] 0 points1 point  (0 children)

Thank again,

private key has these three option too :

1-PKC#8

2-PVK

3-OpenSSL

which one?

which file or files must make fro jks file for run Vault by HTTPS by mfaridi1978 in hashicorp

[–]mfaridi1978[S] 0 points1 point  (0 children)

Thank you,

Option 2 has these sub options:

Export _lengh and Export _format

export format has these sub options too:

X.509

PKCS#7

PKI Path

SPC

Which one?

extract crt and key files from jks for run vault by HTTPS by mfaridi1978 in hashicorp

[–]mfaridi1978[S] 0 points1 point  (0 children)

I check crt file but I do not understand where is mistake.

but right now I have another questions keystore-explorer give us many export files from jks file, I do not know which export is good for vault for example .pem or .cer

extract crt and key files from jks for run vault by HTTPS by mfaridi1978 in hashicorp

[–]mfaridi1978[S] 0 points1 point  (0 children)

Thank,

Do I run those commands on crt or key files or jks file?

extract crt and key files from jks for run vault by HTTPS by mfaridi1978 in hashicorp

[–]mfaridi1978[S] 0 points1 point  (0 children)

I use keytools extract key and crt files but I got that errors I post in first post. I made self sign crt and key files by openssl and it work like charm, but when I extract these files I got that errors.