Tutorial: Gsuite Free Edition Using Upgrade to Change Primary Domain and Downgrade Back to Free Subscription

 Disclaimer: Operation is risky, please consider carefully and operate with caution, for reference only, and do not assume all responsibility

Image[1] - Tutorial: Gsuite Free Edition uses an upgrade to change the primary domain name and then downgrade back to a free subscription - Rich Magazine

## Specific steps

1. First click https://admin.google.com/?action_id=SE_SELF_TRANSITION&utm_source=helpcenter , this link, upgrade your subscription to Business Starter Edition, click OK to complete the upgrade.

2. After the upgrade is complete, click the sidebar, click Account-Domain-Admin Domain, click the Add Domain Name button, add an auxiliary domain name (you must select an auxiliary domain name), and then complete the domain name verification, the domain name verification takes a long time (I probably verified After half an hour), after the verification is successful, you can now click the Replace Primary Domain Name button to replace the primary domain name with your newly added secondary domain name.

3. Check if there is any outstanding payment in the subscription and settle it (you need to bind the payment method, if there is no outstanding payment, you should not need to bind the payment method) (I bought the account on the Internet before, and there is an outstanding payment of 10 dollars The money, luckily it's not much, I paid him in full, otherwise I'd throw the number away

4. Switch the language of the page to English (this is very important, you cannot see the button to switch back to free in Chinese), on the Google account management page, personal information - other information and preferences in Google services - web version General Preferences - Language, switch to English here.

5. In English, click the question mark button at the top of the page, and the robot customer service window will pop up. At this time, click Contact support, then click Questions about G Suite legacy free edition, and then click I used G Suite legacy free edition for personal use (this step Don't click wrong!!!), then click Yes, after clicking yes, a button to restore free will pop up, the button says Switch back to GSuite Legacy free, click this button, a small box will pop up, and after a while, it will pop up A green checkmark will appear, telling you that the recovery has been successful. At this time, it has actually been successfully restored to the free version, but it is best to look at the next steps to verify.

6. After the restoration is completed in the previous step, check the mailbox of your gsuite administrator account. If you successfully restore the free version, you will receive two emails at this time, one is to tell you that they have received your case and help you handle it The content of the other email is very important (this email generally means that there is no way to switch back to the free version at the moment, but you can keep the current subscription version and do not have to pay for the account for the foreseeable future), be sure to save it Great email! !

7. This email is the proof that you have successfully retained the free version. Be sure to save it. Next, we go back to the main interface of the gsuite administrator console and check the Billing box. You can see the Estimated upcoming bill on 1 Jun 2022. The renewal amount is $0.00USD.

## Conclusion

If all the above steps are completed without error, you will successfully retain the free business starter subscription, the account space is 30G, and there is the function of switching the main domain name, and the function of adding users is also normal.

Apply for free SSL certificate for IP address - let IP address realize HTTPS encrypted access

Generally speaking, adding an SSL certificate to a domain name using domain name access is a routine operation for building a website, but some applications may not need to use domain name access, or do not want to bind a domain name, but just want to use a simple IP to achieve access. Under the background that the entire network is accessed through HTTPS encryption, is it possible to add an SSL certificate to the IP address to achieve access?

Have. But most IP facing SSL certificates are charged. The free SSL certificate provided by zeroSSL supports pure IP issuance. This article will share the application for zeroSSL free pure IP SSL certificate and how to install and configure zeroSSL free SSL certificate on your own server (pagoda panel or Nginx).

Picture [1]-IP address free application for SSL certificate-enable IP address to achieve HTTPS encrypted access-Rich Magazine

1. ZeroSSL certificate application

website:

  1. https://zerossl.com

1.1 Manual application

Go to the ZeroSSL official website, register an account, and then click Free SSL Certificate Application.

Picture [2]-IP address free application for SSL certificate-enable IP address to achieve HTTPS encrypted access-Rich Magazine

Fill in your IP address and choose the length of the free SSL certificate.

Picture [3]-IP address free application for SSL certificate-enable IP address to achieve HTTPS encrypted access-Rich Magazine

Select Automatically generate CSR.

Picture [4]-IP address free to apply for SSL certificate-enable IP address to achieve HTTPS encrypted access-Rich Magazine

1.2 Verify the domain name

ZeroSSL free SSL certificate provides two methods of domain name verification, the simplest is Web verification, but the premise is that you need to allow your IP address to achieve Web access. If not, you can choose to use domain DNS to add TXT record verification.

Picture [5]-IP address free application for SSL certificate-enable IP address to achieve HTTPS encrypted access-Rich Magazine

If you choose Web access to the website, download the verification file directly, and then upload it to the default Web directory of the IP address. The path is required to remain as follows:

Picture [6]-IP address free application for SSL certificate-enable IP address to achieve HTTPS encrypted access-Rich Magazine

Open the IP with your browser and make sure you can access the verification file.

Picture [7]-IP address free to apply for SSL certificate-enable IP address to achieve HTTPS encrypted access-Rich Magazine

Finally, go back to the ZeroSSL verification page and click Finish verification.

Picture [8]-IP address free application for SSL certificate-enable IP address to achieve HTTPS encrypted access-Rich Magazine

2. ZeroSSL certificate installation

2.1 Download the certificate file

After the ZeroSSL certificate has been successfully verified, you can download the certificate file. ZeroSSL SSL certificates come in many forms, including Nginx, Apache, and more.

Picture [9]-IP address free application for SSL certificate-enable IP address to achieve HTTPS encrypted access-Rich Magazine

Taking Nginx as an example, there are three ZeroSSL certificate files downloaded: ca_bundle.crt and certificate.crt and private key key.

Picture [10]-IP address free to apply for SSL certificate-enable IP address to achieve HTTPS encrypted access-Rich Magazine

2.2 Merge SSL certificates

For Nginx server, you need to merge ca_bundle.crt and certificate.crt by opening certificate.crt and copy-pasting the content of ca_bundle.crt in the back.

Picture [11]-IP address free to apply for SSL certificate-enable IP address to achieve HTTPS encrypted access-Rich Magazine

2.3 Install the SSL certificate

If you are using the pagoda panel, you can directly click to install the SSL certificate in the background, and then upload and save the certificate and key files separately.

Picture [12]-IP address free application for SSL certificate-enable IP address to achieve HTTPS encrypted access-Rich Magazine

If you are using the Oneinstack one-click package and the LNMP one-click installation package, you need to open your Nginx configuration file (not the domain name Nginx configuration file), modify the following format, and be careful to change the path of the SSL certificate to your own:

server
{
listen 443 ssl http2;
#listen [::]:443 ssl http2;
server_name _;
index index.html index.htm index.php ; _ _
root /home/wwwroot/default;
ssl_certificate /usr/local/nginx/conf/ssl/ipssl/wzfouip.crt ;
ssl_certificate_key /usr/local/nginx/conf/ssl/ipssl/wzfouip.key ;
ssl_session_timeout 5m;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3 ; _ _ _
ssl_prefer_server_ciphers on;
ssl_ciphers "TLS13-AES-256-GCM-SHA384:TLS13-CHACHA20-POLY1305-SHA256:TLS13-AES-128-GCM-SHA256:TLS13-AES-128-CCM-8-SHA256:TLS13-AES-128-CCM- SHA256:EECDH+CHACHA20:EECDH+CHACHA20-draft:EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+3DES:RSA+3DES:!MD5" ;
ssl_session_cache builtin: 1000 shared:SSL:10m;
# openssl dhparam -out /usr/local/nginx/conf/ssl/dhparam.pem 2048
ssl_dhparam /usr/local/nginx/conf/ssl/dhparam.pem ;
access_log /home/wwwlogs/access.log ;
}

After the certificate is installed, remember to execute: nginx -t to check if there are any syntax errors. If not, restart Nginx directly to complete the SSL certificate installation. Open the IP address and you can see that the IP SSL certificate has been successfully installed.

Picture [13]-IP address free to apply for SSL certificate-enable IP address to achieve HTTPS encrypted access-Rich Magazine
Picture [14]-IP address free application for SSL certificate-enable IP address to achieve HTTPS encrypted access-Rich Magazine

3. Summary

For now, there is no good tool to automatically renew the ZeroSSL free SSL certificate of pure IP for the time being. A developer on Github wrote a tool using golang to achieve the renewal: https://github.com/tinkernels/zerossl-ip -cert , but it is not easy to operate, so the simpler method is to apply for renewal manually.

Oracle crack SSH key problem

 This post will teach you the second method to solve the SSH key problem.

Step 1: Prepare a linux server directly, (any one, this is not difficult for MJJ)
Step 2: Link your own linux server (under root authority), enter the cd/root/ .ssh directory
Step 3 : Execute the ssh -keygen -t rsa command (enter all the way)
Picture [1] - Oracle crack SSH key problem - Rich Magazine
Step 4: Get the key generated just now, execute the command cat id_rsa.pub (if you follow my way to enter)
Picture [2] - Oracle crack SSH key problem - Rich Magazine
Step 5: Go to oralce A workbench is added to the instance details page, and the key is only generated after entering it.
Picture [3] - Oracle crack SSH key problem - Rich Magazine
Once the console connection is active, click "Connect using SSH" and copy the command to linux for execution.
Step 6: Successfully connect to the instance.
Picture [4] - Oracle crack SSH key problem - Rich Magazine
Step 7: Restart the instance.
Picture [5] - Oracle crack SSH key problem - Rich Magazine
Step 8: After rebooting we go back to the linux server and we will see the following echo, select the kernel and click "E" to edit the kernel to run with a bash prompt.
Picture [6] - Oracle crack SSH key problem - Rich Magazine
Step 9: Edit the kernel with rw init=/bin/bash and press ctrl+x, it will land at the bash prompt. As shown below (there is a space before rw)
Picture [7] - Oracle crack SSH key problem - Rich Magazine
Picture [8] - Oracle crack SSH key problem - Rich Magazine
Step 10: Execute the following command and update the new public key generated by PUTTYGEN to authorized_keys
Command 1: /usr/sbin/load_policy -i
Command 2: /bin/mount -o remount, rw/
command 3: cd ~opc/.ssh
command 4: pwd
Picture [9] - Oracle crack SSH key problem - Rich Magazine
Step 11: Copy the new key to the authorized_keys file and save it.
Use the command: vi authorized_keys
Step 12: Change the ownership and permissions of the authorized_keys file and reboot the system.
Picture [10]-Oracle cracking SSH key problem-Rich Magazine
After waiting for the instance to bootstrap, you can use the new private key to connect to the instance.

Great Wall of China