Use ChatGPT to learn – the difference between cer and pem, the method of converting pem to cer, the difference between PEM (cert) and PEM (chain) download methods, and checking the format of cer files

Use ChatGPT to quickly understand related concepts that you have never understood before, which really greatly improves work efficiency. 1. what’s the difference between .cer and .pem? Both .cer and .pem are file extensions used for digital certificates, but there are some differences between them. A .cer file is a binary file format that contains […]

Interpretation of IDDPM code ResBlock and TimestepEmbedSequential

Interpretation of IDDPM code ResBlock and TimestepEmbedSequential The difference between forward and _forward in ResBlock TimestepEmbedSequential The difference between forward and _forward in ResBlock # ResBlock is to add the embedding to the picture in the form of residual, that is, to integrate the time information into the picture class ResBlock(TimestepBlock): # resblock is inherited […]

SWIG Wrapper Usage Guide – (3) Typemap Type Mapping

SWIG series: http://t.csdn.cn/cIAcr Article directory 1. What is Typemap? 2. How to define a Typemap 3. What can Typemap be used for? 3.1 Input parameter mapping processing 3.2 Function return value mapping processing 3.3 Exception handling 3.4 Global variable processing 3.5 Others 3.6 What cannot be done? 4. The scope and deletion of typemap 5. […]

In-depth explanation of SSL/CA certificates and their related certificate files (pem, crt, cer, key, csr)

The Internet is virtual, and we cannot correctly obtain the real identity of the other party through the Internet. Digital certificates are identity cards in the network world, and digital certificates provide electronic authentication for secure communication between two parties. The digital certificate contains the identification information of the owner of the key pair, and […]

[Solved] etcdctl 3.2 version executes /opt/etcd/bin/etcdctl –cacert=/opt/etcd/ssl/ca.pem error

/opt/etcd/bin/etcdctl –cacert=/opt/etcd/ssl/ca.pem –cert=/opt/etcd/ssl/server.pem –key=/opt/etcd/ssl/ server-key.pem –endpoints=”https://192. 168.1.20:2379,https://192.168.1.21:2379,https://192.168.1.22:2379″ put /coreos.com/network/config ‘{ “Network”: “172.17.0.0 /16”, “Backend”: {“Type”: “vxlan”}}’ report an error flag provided but not defined: -cacert NAME: etcdctl – A simple command line client for etcd. WARNING: Environment variable ETCDCTL_API is not set; defaults to etcdctl v2. Set environment variable ETCDCTL_API=3 to use v3 API or […]

[Solved] sign-file: certs/signing_key.pem: workaround

Using the ubuntu18.04 environment, after make, when make install loads, the following error occurs: At main.c:158: SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:175 SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:178 sign-file: certs/signing_key.pem: No such file or directory DEPMOD 4.10.0-20-generic Step 1. Create the x509.genkey file with the following contents: [req] default_bits = 4096 distinguished_name = […]

[Solved] Compile kernel error – *** No rules to make target “debian/canonical-revoked-certs.pem”, required by “certs/x509_revocation_list”. stop.

Enter the kernel source directory open.config vim.config Delete the contents of the double quotes, keep the double quotes Save and exit! bring it on! Accept the next challenge! The article knowledge points match the official knowledge files, and you can further learn the relevant knowledge CS entry skill tree Linux entry First acquaintance with Linux6613 […]

[Solved] Compiling kernel error – *** No rules to make target “debian/canonical-certs.pem”, required by “certs/x509_certificate_list”. stop.

Open the .config file vim.config Delete the contents of the double quotes (keep the double quotes) After deleting: save and exit :wq Problem ending! bring it on! Go to challenge the next difficulty! The article knowledge points match the official knowledge files, and you can further learn related knowledge CS introductory skill tree Linux entry […]